Part Number Hot Search : 
ZHS02042 C5310 STM8330 DK24LG 333M0 CX77144 W91531LN W91530N
Product Description
Full Text Search
 

To Download R01DS0012EJ0110-15 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  r01ds0012ej0110 rev.1.10 page 1 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group renesas mcu datasheet 1. overview 1.1 features the r8c/34w group, r8c/34x group, r8c/34y group, a nd r8c/34z group of single-chip mcus incorporate the r8c cpu core, employing sophisticated instructions for a high level of efficiency. with 1 mbyte of address space, and it is capable of executing in structions at high speed. in addition, the cpu core boasts a mult iplier for high-speed operation processing. power consumption is low, and the supported operating modes allow additional power control. these mcus are designed to maximize emi/ems performance. integration of many peripheral functions, including multifun ction timer and serial inte rface, reduces the number of system components. the r8c/34w group and r8c/34x group have a single channel can module and are suitable for lan systems in vehicles and for fa. the r8c/34y group and r8c/34z group do not have can modules. the r8c/34w group and r8c/34y group have data flas h (1 kb 4 blocks) with the background operation (bgo) function. 1.1.1 applications automobiles and others r01ds0012ej0110 rev.1.10 jan 31, 2013
r01ds0012ej0110 rev.1.10 page 2 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview 1.1.2 specifications tables 1.1 and 1.2 outline the specifications for r8c/34w group, tables 1.3 and 1.4 outline the specifications for r8c/34x group, tables 1.5 and 1.6 outline the spec ifications for r8c/34y group, and tables 1.7 and 1.8 outline the specifications for r8c/34z group. table 1.1 specifications for r8c/34w group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operating mode: single-chip mode (address space: 1 mbyte) memory rom, ram, data flash refer to table 1.9 product list for r8c/34w group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection leve l of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 43, sele ctable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circ uit (with on-chip feedback resistor), high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed cl ock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? interrupt vectors: 69 ? external: 9 sources (int 5, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 31 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits (with 8-bit prescaler) 1 timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement m ode, pulse period measurement mode timer rb 8 bits (with 8-bit prescaler) 1 timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot generation mode, programmable wait one- shot generation mode timer rc 16 bits (with 4 capture/compare registers) 1 timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd 16 bits (with 4 capture/compare registers) 2 timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave mo dulation), comple mentary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period) timer re 8 bits 1 output compare mode
r01ds0012ej0110 rev.1.10 page 3 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview note: 1. specify the k version if k version functions are to be used. table 1.2 specifications for r8c/34w group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o, uart uart2 1 channel clock synchronous serial i/o, uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) can module 1 channel, 16 mailboxes (conforms to the iso 11898-1) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 10,000 times (data flash) 1,000 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function ? background operation (bgo) function (data flash) operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -40 to 125 c (k version) (1) package 48-pin lqfp package code: plqp0048kb-a (previous code: 48p6q-a)
r01ds0012ej0110 rev.1.10 page 4 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview table 1.3 specifications for r8c/34x group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operating mode: single-chip mode (address space: 1 mbyte) memory rom, ram, data flash refer to table 1.10 product list for r8c/34x group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection leve l of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 43, sele ctable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circ uit (with on-chip feedback resistor), high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed cl ock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? interrupt vectors: 69 ? external: 9 sources (int 5, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 31 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits (with 8-bit prescaler) 1 timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement m ode, pulse period measurement mode timer rb 8 bits (with 8-bit prescaler) 1 timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot generation mode, programmable wait one- shot generation mode timer rc 16 bits (with 4 capture/compare registers) 1 timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd 16 bits (with 4 capture/compare registers) 2 timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave mo dulation), comple mentary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period) timer re 8 bits 1 output compare mode
r01ds0012ej0110 rev.1.10 page 5 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview note: 1. specify the k version if k version functions are to be used. table 1.4 specifications for r8c/34x group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o, uart uart2 1 channel clock synchronous serial i/o, uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) can module 1 channel, 16 mailboxes (conforms to the iso 11898-1) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 100 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -40 to 125 c (k version) (1) package 48-pin lqfp package code: plqp0048kb-a (previous code: 48p6q-a)
r01ds0012ej0110 rev.1.10 page 6 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview table 1.5 specifications for r8c/34y group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operating mode: single-chip mode (address space: 1 mbyte) memory rom, ram, data flash refer to table 1.11 product list for r8c/34y group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection leve l of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 43, sele ctable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circ uit (with on-chip feedback resistor), high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed cl ock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? interrupt vectors: 69 ? external: 9 sources (int 5, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 31 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits (with 8-bit prescaler) 1 timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement m ode, pulse period measurement mode timer rb 8 bits (with 8-bit prescaler) 1 timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot generation mode, programmable wait one- shot generation mode timer rc 16 bits (with 4 capture/compare registers) 1 timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd 16 bits (with 4 capture/compare registers) 2 timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave mo dulation), comple mentary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period) timer re 8 bits 1 output compare mode
r01ds0012ej0110 rev.1.10 page 7 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview note: 1. specify the k version if k version functions are to be used. table 1.6 specifications for r8c/34y group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o, uart uart2 1 channel clock synchronous serial i/o, uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 10,000 times (data flash) 1,000 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function ? background operation (bgo) function (data flash) operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -40 to 125 c (k version) (1) package 48-pin lqfp package code: plqp0048kb-a (previous code: 48p6q-a)
r01ds0012ej0110 rev.1.10 page 8 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview table 1.7 specifications for r8c/34z group (1) item function specification cpu central processing unit r8c cpu core ? number of fundamental instructions: 89 ? minimum instruction execution time: 50 ns (f(xin) = 20 mhz, vcc = 2.7 to 5.5 v) ? multiplier: 16 bits 16 bits 32 bits ? multiply-accumulate instruction: 16 bits 16 bits + 32 bits 32 bits ? operating mode: single-chip mode (address space: 1 mbyte) memory rom, ram, data flash refer to table 1.12 product list for r8c/34z group . power supply voltage detection voltage detection circuit ? power-on reset ? voltage detection 3 (detection leve l of voltage detection 1 selectable) i/o ports programmable i/o ports ? input-only: 1 pin ? cmos i/o ports: 43, sele ctable pull-up resistor clock clock generation circuits 3 circuits: xin clock oscillation circ uit (with on-chip feedback resistor), high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator ? oscillation stop detection: xin clock oscillation stop detection function ? frequency divider circuit: dividing selectable 1, 2, 4, 8, and 16 ? low power consumption modes: standard operating mode (high-speed cl ock, high-speed on-chip oscillator, low-speed on-chip oscillato r), wait mode, stop mode interrupts ? interrupt vectors: 69 ? external: 9 sources (int 5, key input 4) ? priority levels: 7 levels watchdog timer ? 14 bits 1 (with prescaler) ? reset start selectable ? low-speed on-chip oscillator for watchdog timer selectable dtc (data transfer controller) ? 1 channel ? activation sources: 31 ? transfer modes: 2 (normal mode, repeat mode) timer timer ra 8 bits (with 8-bit prescaler) 1 timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse wi dth measurement m ode, pulse period measurement mode timer rb 8 bits (with 8-bit prescaler) 1 timer mode (period timer), programmable waveform generation mode (pwm output), programmable one-shot generation mode, programmable wait one- shot generation mode timer rc 16 bits (with 4 capture/compare registers) 1 timer mode (input capture function, output compare function), pwm mode (output 3 pins), pwm2 mode (pwm output pin) timer rd 16 bits (with 4 capture/compare registers) 2 timer mode (input capture function, output compare function), pwm mode (output 6 pins), reset synchronous pwm mode (output three-phase waveforms (6 pins), sawtooth wave mo dulation), comple mentary pwm mode (output three-phase waveforms (6 pins), triangular wave modulation), pwm3 mode (pwm output 2 pins with fixed period) timer re 8 bits 1 output compare mode
r01ds0012ej0110 rev.1.10 page 9 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview note: 1. specify the k version if k version functions are to be used. table 1.8 specifications for r8c/34z group (2) item function specification serial interface uart0 1 channel clock synchronous serial i/o, uart uart2 1 channel clock synchronous serial i/o, uart, i 2 c mode (i 2 c-bus), ie mode (iebus), multiprocessor communication function synchronous serial communication unit (ssu) 1 channel lin module hardware lin: 1 (timer ra, uart0) a/d converter 10-bit resolution 12 channels, includes sample and hold function, with sweep mode flash memory ? programming and eras ure voltage: vcc = 2.7 to 5.5 v ? programming and erasure endur ance: 100 times (program rom) ? program security: rom code protect, id code check ? debug functions: on-chip debug, on-board flash rewrite function operating frequency/supply voltage f(xin) = 20 mhz (vcc = 2.7 to 5.5 v) current consumption typ. 7 ma (v cc = 5.0 v, f(xin) = 20 mhz) operating ambient temperature -40 to 85 c (j version) -40 to 125 c (k version) (1) package 48-pin lqfp package code: plqp0048kb-a (previous code: 48p6q-a)
r01ds0012ej0110 rev.1.10 page 10 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview 1.2 product list table 1.9 lists product list for r8c/34w group, table 1. 10 lists product list for r8c/34x group, table 1.11 lists product list for r8c/34y group, and table 1.12 lists product list for r8c/34z group. figure 1.1 part number, memory size, and package of r8c/34w group table 1.9 product list for r8c/34w group current of jan 2013 part no. rom capacity ram capacity package type remarks program rom data flash r5f21346wjfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0048kb-a j version r5f21347wjfp 48 kbytes 1 kbyte 4 4 kbytes plqp0048kb-a r5f21348wjfp 64 kbytes 1 kbyte 4 6 kbytes plqp0048kb-a r5f2134awjfp 96 kbytes 1 kbyte 4 8 kbytes plqp0048kb-a r5f2134cwjfp 128 kbytes 1 kbyte 4 10 kbytes plqp0048kb-a r5f21346wkfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0048kb-a k version r5f21347wkfp 48 kbytes 1 kbyte 4 4 kbytes plqp0048kb-a r5f21348wkfp 64 kbytes 1 kbyte 4 6 kbytes plqp0048kb-a r5f2134awkfp 96 kbytes 1 kbyte 4 8 kbytes plqp0048kb-a r5f2134cwkfp 128 kbytes 1 kbyte 4 10 kbytes plqp0048kb-a part no. r 5 f 21 34 6 w j fp package type: fp: plqp0048kb-a (0.5 mm pin-pitch, 7 mm square body) can, data flash w: can module and data flash x : can module but no data flash y : data flash but no can module z : none classification j: operating ambient temperature ? 40 c to 85 c k: operating ambient temperature ? 40 c to 125 c rom capacity 6: 32 kb 7: 48 kb 8: 64 kb a: 96 kb c: 128 kb r8c/34w group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r01ds0012ej0110 rev.1.10 page 11 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview figure 1.2 part number, memory size, and package of r8c/34x group table 1.10 product list for r8c/34x group current of jan 2013 part no. rom capacity ram capacity package type remarks program rom r5f21346xjfp 32 kbytes 2.5 kbytes plqp0048kb-a j version r5f21347xjfp 48 kbytes 4 kbytes plqp0048kb-a r5f21348xjfp 64 kbytes 6 kbytes plqp0048kb-a r5f2134axjfp 96 kbytes 8 kbytes plqp0048kb-a r5f2134cxjfp 128 kbytes 10 kbytes plqp0048kb-a r5f21346xkfp 32 kbytes 2.5 kbytes plqp0048kb-a k version r5f21347xkfp 48 kbytes 4 kbytes plqp0048kb-a r5f21348xkfp 64 kbytes 6 kbytes plqp0048kb-a r5f2134axkfp 96 kbytes 8 kbytes plqp0048kb-a r5f2134cxkfp 128 kbytes 10 kbytes plqp0048kb-a part no. r 5 f 21 34 6 x j fp package type: fp: plqp0048kb-a (0.5 mm pin-pitch, 7 mm square body) can, data flash w: can module and data flash x : can module but no data flash y : data flash but no can module z : none classification j: operating ambient temperature ? 40 c to 85 c k: operating ambient temperature ? 40 c to 125 c rom capacity 6: 32 kb 7: 48 kb 8: 64 kb a: 96 kb c: 128 kb r8c/34x group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r01ds0012ej0110 rev.1.10 page 12 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview figure 1.3 part number, memory size, and package of r8c/34y group table 1.11 product list for r8c/34y group current of jan 2013 part no. rom capacity ram capacity package type remarks program rom data flash r5f21346yjfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0048kb-a j version r5f21347yjfp 48 kbytes 1 kbyte 4 4 kbytes plqp0048kb-a r5f21348yjfp 64 kbytes 1 kbyte 4 6 kbytes plqp0048kb-a r5f2134ayjfp 96 kbytes 1 kbyte 4 8 kbytes plqp0048kb-a r5f2134cyjfp 128 kbytes 1 kbyte 4 10 kbytes plqp0048kb-a r5f21346ykfp 32 kbytes 1 kbyte 4 2.5 kbytes plqp0048kb-a k version r5f21347ykfp 48 kbytes 1 kbyte 4 4 kbytes plqp0048kb-a r5f21348ykfp 64 kbytes 1 kbyte 4 6 kbytes plqp0048kb-a r5f2134aykfp 96 kbytes 1 kbyte 4 8 kbytes plqp0048kb-a r5f2134cykfp 128 kbytes 1 kbyte 4 10 kbytes plqp0048kb-a part no. r 5 f 21 34 6 y j fp package type: fp: plqp0048kb-a (0.5 mm pin-pitch, 7 mm square body) can, data flash w: can module and data flash x : can module but no data flash y : data flash but no can module z : none classification j: operating ambient temperature ? 40 c to 85 c k: operating ambient temperature ? 40 c to 125 c rom capacity 6: 32 kb 7: 48 kb 8: 64 kb a: 96 kb c: 128 kb r8c/34y group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r01ds0012ej0110 rev.1.10 page 13 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview figure 1.4 part number, memory size, and package of r8c/34z group table 1.12 product list for r8c/34z group current of jan 2013 part no. rom capacity ram capacity package type remarks program rom r5f21346zjfp 32 kbytes 2.5 kbytes plqp0048kb-a j version r5f21347zjfp 48 kbytes 4 kbytes plqp0048kb-a r5f21348zjfp 64 kbytes 6 kbytes plqp0048kb-a r5f2134azjfp 96 kbytes 8 kbytes plqp0048kb-a r5f2134czjfp 128 kbytes 10 kbytes plqp0048kb-a r5f21346zkfp 32 kbytes 2.5 kbytes plqp0048kb-a k version r5f21347zkfp 48 kbytes 4 kbytes plqp0048kb-a r5f21348zkfp 64 kbytes 6 kbytes plqp0048kb-a r5f2134azkfp 96 kbytes 8 kbytes plqp0048kb-a r5f2134czkfp 128 kbytes 10 kbytes plqp0048kb-a part no. r 5 f 21 34 6 z j fp package type: fp: plqp0048kb-a (0.5 mm pin-pitch, 7 mm square body) can, data flash w: can module and data flash x : can module but no data flash y : data flash but no can module z : none classification j: operating ambient temperature ? 40 c to 85 c k: operating ambient temperature ? 40 c to 125 c rom capacity 6: 32 kb 7: 48 kb 8: 64 kb a: 96 kb c: 128 kb r8c/34z group r8c/3x series memory type f: flash memory renesas mcu renesas semiconductor
r01ds0012ej0110 rev.1.10 page 14 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview 1.3 block diagram figure 1.5 shows a block diagram. figure 1.5 block diagram r8c cpu core system clock generation circuit xin-xout high-speed on-chip oscillator low-speed on-chip oscillator memory rom (1) ram (2) multiplier r0h r0l r1h r2 r3 r1l a0 a1 fb sb usp isp intb pc flg i/o ports notes: 1. rom size varies with mcu type. 2. ram size varies with mcu type. 3. only in the r8c/34w group and r8c/34x group. 8 port p1 6 port p3 5 1 port p4 8 port p0 8 port p2 8 port 6 timers timer ra (8 bits) timer rb (8 bits) timer rc (16 bits) timer rd (16 bits 2) timer re (8 bits) a/d converter (10 bits 12 channels) uart or clock synchronous serial i/o (8 bits 2 channels) peripheral functions dtc watchdog timer (14 bits) ssu (8 bits 1 channel) can module (3) (1 channel) lin module (1 channel) voltage detection circuit
r01ds0012ej0110 rev.1.10 page 15 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview 1.4 pin assignment figure 1.6 shows pin assignment (top view). tables 1. 13 and 1.14 outline the pin name information by pin number. figure 1.6 pin assignment (top view) 36 35 34 33 32 31 30 29 24 13 14 15 16 17 18 19 20 21 22 23 1 3456789101112 2 48 47 46 45 44 43 42 41 40 39 38 37 p0_6/an1 p0_5/an2 p0_4/treo/an3 vref/p4_2 (3) p6_0/(treo) (1) p6_2/crx0 (2) p6_1/ctx0 (2) p0_3/an4 p0_2/an5 p0_1/an6 p0_0/an7 p3_7/(trao) (1) /(txd2)/(sda2)/(rxd2)/(scl2) (1) /sso 28 27 26 25 p1_3/ki3/trbo/an11 p1_4/trcclk/txd0 p1_5/(int1) (1) /(traio) (1) /rxd0 p1_6/clk0 p1_7/int1/(traio) (1) p2_0/trdioa0/trdclk p2_1/trdiob0 p2_2/trdioc0 p2_3/trdiod0 p2_4/trdioa1 p2_5/trdiob1 p2_6/trdioc1 p 3 _ 5 / ( c l k 2 ) ( 1 ) / s s c k p 3 _ 3 / i n t 3 / c t s 2 / r t s 2 / ( s s i ) ( 1 ) / s c s p 3 _ 4 / ( t x d 2 ) / ( s d a 2 ) / ( r x d 2 ) / ( s c l 2 ) ( 1 ) / s s i / ( s c s ) ( 1 ) m o d e p 4 _ 3 p 4 _ 4 r e s e t x o u t / p 4 _ 7 v s s / a v s s x i n / p 4 _ 6 v c c / a v c c p 2 _ 7 / t r d i o d 1 p 0 _ 7 / a n 0 p 6 _ 3 p 6 _ 4 p 6 _ 5 / i n t 4 / ( c l k 2 ) ( 1 ) p 3 _ 0 / ( t r a o ) ( 1 ) p 3 _ 1 / ( t r b o ) ( 1 ) p 1 _ 0 / k i 0 / a n 8 p 1 _ 1 / k i 1 / t r c i o a / t r c t r g / a n 9 p 1 _ 2 / k i 2 / t r c i o b / a n 1 0 p 6 _ 7 / ( i n t 3 ) ( 1 ) / t r c i o d / ( r x d 2 ) / ( s c l 2 ) ( 1 ) p 6 _ 6 / i n t 2 / t r c i o c / ( t x d 2 ) / ( s d a 2 ) ( 1 ) p 4 _ 5 / i n t 0 / a d t r g r8c/34w group r8c/34x group r8c/34y group r8c/34z group plqp0048kb-a (48p6q-a) (top view) notes: 1. can be assigned to the pin in parentheses by a program. 2. only in the r8c/34w group and r8c/34x group. 3. p4_2 is an input-only pin. 4. confirm the pin 1 position on the package by referring to the package dimensions.
r01ds0012ej0110 rev.1.10 page 16 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview notes: 1. this can be assigned to the pin in parentheses by a program. 2. only for the r8c/34w group and r8c/34x group. table 1.13 pin name information by pin number (1) pin number control pin port i/o pin functions for peripheral modules interrupt timer serial interface ssu can module (2) a/d converter voltage detection circuit 1p3_5 (clk2) (1) ssck 2p3_3int3 cts2 /rts2 (ssi) (1) /scs 3p3_4 (txd2)/(sda2)/ (rxd2)/(scl2) (1) ssi/(scs ) (1) 4mode 5p4_3 6p4_4 7 reset 8xoutp4_7 9 vss/avss 10 xin p4_6 11 vcc/avcc 12 p2_7 trdiod1 13 p2_6 trdioc1 14 p2_5 trdiob1 15 p2_4 trdioa1 16 p2_3 trdiod0 17 p2_2 trdioc0 18 p2_1 trdiob0 19 p2_0 trdioa0/ trdclk 20 p1_7 int1 (traio) (1) 21 p1_6 clk0 22 p1_5 int1 (1) (traio) (1) rxd0 23 p1_4 trcclk txd0 24 p1_3 ki3 trbo an11 25 p4_5 int0 adtrg 26 p6_6 int2 trcioc (txd2)/(sda2) (1)
r01ds0012ej0110 rev.1.10 page 17 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview notes: 1. this can be assigned to the pin in parentheses by a program. 2. only for the r8c/34w group and r8c/34x group. table 1.14 pin name information by pin number (2) pin number control pin port i/o pin functions for peripheral modules interrupt timer serial interface ssu can module (2) a/d converter voltage detection circuit 27 p6_7 int3 (1) trciod (rxd2)/(scl2) (1) 28 p1_2 ki2 trciob an10 29 p1_1 ki1 trcioa/ trctrg an9 30 p1_0 ki0 an8 31 p3_1 (trbo) (1) 32 p3_0 (trao) (1) 33 p6_5 int4 (clk2) (1) 34 p6_4 35 p6_3 36 p0_7 an0 37 p0_6 an1 38 p0_5 an2 39 p0_4 treo an3 40 p4_2 vref 41 p6_0 (treo) (1) 42 p6_2 crx0 (2) 43 p6_1 ctx0 (2) 44 p0_3 an4 45 p0_2 an5 46 p0_1 an6 47 p0_0 an7 48 p3_7 (trao) (1) (txd2)/(sda2)/ (rxd2)/(scl2) (1) sso
r01ds0012ej0110 rev.1.10 page 18 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview 1.5 pin functions tables 1.15 and 1.16 list pin functions. i: input o: output i/o: input and output note: 1. refer to the oscillator manufacturer for oscillation characteristics. table 1.15 pin functions (1) item pin name i/o type description power supply input vcc, vss ? apply 2.7 v to 5.5 v to the vcc pin. apply 0 v to the vss pin. analog power supply input avcc, avss ? power supply for the a/d converter. connect a capacitor between avcc and avss. reset input reset i input ?l? on this pin resets the mcu. mode mode i connect this pin to vcc via a resistor. xin clock input xin i these pins are provid ed for xin clock generation circuit i/o. connect a ceramic resonator or a crystal oscillator between the xin and xout pins (1) . to use an external clock, input it to the xout pin and leave the xin pin open. xin clock output xout i/o int interrupt input int0 to int4 iint interrupt input pins. key input interrupt ki0 to ki3 i key input interrupt input pins timer ra traio i/o timer ra i/o pin trao o timer ra output pin timer rb trbo o timer rb output pin timer rc trcclk i external clock input pin trctrg i external trigger input pin trcioa, trciob, trcioc, trciod i/o timer rc i/o pins timer rd trdioa0, trdioa1, trdiob0, trdiob1, trdioc0, trdioc1, trdiod0, trdiod1 i/o timer rd i/o pins trdclk i external clock input pin timer re treo o divided clock output pin serial interface clk0, clk2 i/o transfer clock i/o pins rxd0, rxd2 i serial data input pins txd0, txd2 o serial data output pins cts2 i transmission control input pin rts2 o reception control output pin scl2 i/o i 2 c mode clock i/o pin sda2 i/o i 2 c mode data i/o pin ssu ssi i/o data i/o pin scs i/o chip-select signal i/o pin ssck i/o clock i/o pin sso i/o data i/o pin
r01ds0012ej0110 rev.1.10 page 19 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 1. overview i: input o: output i/o: input and output note: 1. only in the r8c/34w group and r8c/34x group. table 1.16 pin functions (2) item pin name i/o type description can module crx0 (1) i can data input pin ctx0 (1) o can data output pin reference voltage input vref i reference voltage input pin to a/d converter a/d converter an0 to an11 i analog input pins to a/d converter adtrg i ad external trigger input pin i/o port p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_1, p3_3 to p3_5, p3_7, p4_3 to p4_7, p6_0 to p6_7 i/o cmos i/o ports. each port has an i/o select direction register, allowing each pin in the port to be directed for input or output individually. any port set to input can be set to use a pull-up resistor or not by a program. input port p4_2 i input-only port
r01ds0012ej0110 rev.1.10 page 20 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 2. central processing unit (cpu) 2. central processi ng unit (cpu) figure 2.1 shows the cpu registers. the cpu contains 13 registers. r0, r1, r2, r3, a0, a1, and fb configure a register bank. there are two sets of register bank. figure 2.1 cpu registers r2 b31 b15 b8b7 b0 data registers (1) address registers (1) r3 r0h (high-order of r0) r2 r3 a0 a1 intbh b15 b19 b0 intbl fb frame base register (1) the 4 high order bits of intb are intbh and the 16 low order bits of intb are intbl. interrupt table register b19 b0 usp program counter isp sb user stack pointer interrupt stack pointer static base register pc flg flag register carry flag debug flag zero flag sign flag register bank select flag overflow flag interrupt enable flag stack pointer select flag reserved bit processor interrupt priority level reserved bit c ipl d z s b o i u b15 b0 b15 b0 b15 b0 b8 b7 note: 1. these registers comprise a register bank. there are two register banks. r1h (high-order of r1) r0l (low-order of r0) r1l (low-order of r1)
r01ds0012ej0110 rev.1.10 page 21 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 2. central processing unit (cpu) 2.1 data registers (r 0, r1, r2, and r3) r0 is a 16-bit register for transfer, arithmetic, an d logic operations. the same applies to r1 to r3. r0 can be split into high-order bits (r0h) and low-order bits (r0l) to be used separately as 8-bit data registers. r1h and r1l are analogous to r0h and r0l. r2 can be combined with r0 and used as a 32-bit data register (r2r0). r3r1 is analogous to r2r0. 2.2 address registers (a0 and a1) a0 is a 16-bit register for address register indirect addr essing and address register relative addressing. it is also used for transfer, arithmetic, and logic operations. a1 is analogous to a0. a1 can be combined with a0 and as a 32- bit address register (a1a0). 2.3 frame base register (fb) fb is a 16-bit register for fb relative addressing. 2.4 interrupt table register (intb) intb is a 20-bit register th at indicates the start address of an interrupt vector table. 2.5 program counter (pc) pc is 20 bits wide and indicates the addres s of the next instruction to be executed. 2.6 user stack pointer (usp) a nd interrupt stack pointer (isp) the stack pointers (sp), usp, and i sp, are each 16 bits wide. the u flag of flg is used to switch between usp and isp. 2.7 static base register (sb) sb is a 16-bit register for sb relative addressing. 2.8 flag register (flg) flg is an 11-bit register indicating the cpu state. 2.8.1 carry flag (c) the c flag retains carry, borrow, or shift-out bits that have been generated by the arithmetic and logic unit. 2.8.2 debug flag (d) the d flag is for debugging only. set it to 0. 2.8.3 zero flag (z) the z flag is set to 1 when an arithmetic operation results in 0; otherwise to 0. 2.8.4 sign flag (s) the s flag is set to 1 when an arithmetic operation results in a negative value; otherwise to 0. 2.8.5 register bank select flag (b) register bank 0 is selected when the b flag is 0. regi ster bank 1 is selected when this flag is set to 1. 2.8.6 overflow flag (o) the o flag is set to 1 when an operation results in an overflow; otherwise to 0.
r01ds0012ej0110 rev.1.10 page 22 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 2. central processing unit (cpu) 2.8.7 interrupt enable flag (i) the i flag enables maskable interrupts. interrupt are disabled when the i flag is set to 0, and are enabled when the i flag is set to 1. the i flag is set to 0 when an interrupt request is acknowledged. 2.8.8 stack pointer select flag (u) isp is selected when the u flag is set to 0; usp is selected when the u flag is set to 1. the u flag is set to 0 when a hardware interrupt requ est is acknowledged or the int instruction of software interrupt numbers 0 to 31 is executed. 2.8.9 processor interrupt priority level (ipl) ipl is 3 bits wide and assigns processor interr upt priority levels from level 0 to level 7. if a requested interrupt has higher priori ty than ipl, the interrupt is enabled. 2.8.10 reserved bit if necessary, set to 0. when read, the content is undefined.
r01ds0012ej0110 rev.1.10 page 23 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 3. memory 3. memory 3.1 r8c/34w group figure 3.1 is a memory map of r8c/34w group. th e r8c/34w group has a 1-mbyte address space from addresses 00000h to fffffh. the inte rnal rom (program rom) is allocat ed lower addresse s, beginning with address 0ffffh. for example, a 48-kbyte internal rom area is allocated addresses 04000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal rom (data flash) is al located addresses 03000h to 03fffh. the internal ram is allocated higher addresses, beginni ng with address 00400h. for example, a 4-kbyte internal ram area is allocated addresses 00400h to 013ffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfr s) are allocated addresses 00000h to 002ffh and 02c00h to 02fffh (the sfr areas for the can, dtc, and other modules). peripheral function control registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.1 memory map of r8c/34w group 0ffffh 0ffdch notes: 1. the data flash memory indicates blocks a (1 kbyte), b (1 kbyte), c (1 kbyte), and d (1 kbyte). 2. the sfr areas for the can, dtc and other modules are allocated to addresses 02c00h to 02fffh. 3. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr 02fffh 02c00h sfr (2) zzzzzh internal rom (program rom) 03fffh 03000h internal rom (data flash) (1) undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21346wjfp, r5f21346wkfp r5f21347wjfp, r5f21347wkfp r5f21348wjfp, r5f21348wkfp r5f2134awjfp, r5f2134awkfp r5f2134cwjfp, r5f2134cwkfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 32 kbytes 48 kbytes 64 kbytes 96 kbytes 128 kbytes 08000h 04000h 04000h 04000h 04000h 2.5 kbytes 4 kbytes 6 kbytes 8 kbytes 10 kbytes 00dffh 013ffh 01bffh 023ffh 02bffh 13fffh 1bfffh 23fffh (refer to 4. special function registers (sfrs) ) (refer to 4. special function registers (sfrs) )
r01ds0012ej0110 rev.1.10 page 24 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 3. memory 3.2 r8c/34x group figure 3.2 is a memory map of r8c/34x group. the r8 c/34x group has a 1-mbyte address space from addresses 00000h to fffffh. the internal rom (program rom) is allocated lower addresses, beginning with address 0ffffh. for example, a 48-kbyte internal rom area is allocated addresses 04000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal ram is allocated higher addresses, beginni ng with address 00400h. for example, a 4-kbyte internal ram area is allocated addresses 00400h to 013ffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfr s) are allocated addresses 00000h to 002ffh and 02c00h to 02fffh (the sfr areas for the can, dtc, and other modules). peripheral function control registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.2 memory map of r8c/34x group 0ffffh 0ffdch notes: 1. the sfr areas for the can, dtc and other modules are allocated to addresses 02c00h to 02fffh. 2. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr 02fffh 02c00h sfr (1) zzzzzh internal rom (program rom) undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21346xjfp, r5f21346xkfp r5f21347xjfp, r5f21347xkfp r5f21348xjfp, r5f21348xkfp r5f2134axjfp, r5f2134axkfp r5f2134cxjfp, r5f2134cxkfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 32 kbytes 48 kbytes 64 kbytes 96 kbytes 128 kbytes 08000h 04000h 04000h 04000h 04000h 2.5 kbytes 4 kbytes 6 kbytes 8 kbytes 10 kbytes 00dffh 013ffh 01bffh 023ffh 02bffh 13fffh 1bfffh 23fffh (refer to 4. special function registers (sfrs) ) (refer to 4. special function registers (sfrs) )
r01ds0012ej0110 rev.1.10 page 25 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 3. memory 3.3 r8c/34y group figure 3.3 is a memory map of r8c/34y group. the r8 c/34y group has a 1-mbyte address space from addresses 00000h to fffffh. the internal rom (program rom) is allocated lower addresses, beginning with address 0ffffh. for example, a 48-kbyte internal rom area is allocated addresses 04000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal rom (data flash) is al located addresses 03000h to 03fffh. the internal ram is allocated higher addresses, beginni ng with address 00400h. for example, a 4-kbyte internal ram area is allocated addresses 00400h to 013ffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfr s) are allocated addresses 00000h to 002ffh and 02c00h to 02fffh (the sfr areas for the dtc and other modules). peripheral function contro l registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.3 memory map of r8c/34y group 0ffffh 0ffdch notes: 1. the data flash memory indicates blocks a (1 kbyte), b (1 kbyte), c (1 kbyte), and d (1 kbyte). 2. the sfr areas for the dtc and other modules are allocated to addresses 02c00h to 02fffh. 3. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr 02fffh 02c00h sfr (2) zzzzzh internal rom (program rom) 03fffh 03000h internal rom (data flash) (1) undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21346yjfp, r5f21346ykfp r5f21347yjfp, r5f21347ykfp r5f21348yjfp, r5f21348ykfp r5f2134ayjfp, r5f2134aykfp r5f2134cyjfp, r5f2134cykfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 32 kbytes 48 kbytes 64 kbytes 96 kbytes 128 kbytes 08000h 04000h 04000h 04000h 04000h 2.5 kbytes 4 kbytes 6 kbytes 8 kbytes 10 kbytes 00dffh 013ffh 01bffh 023ffh 02bffh 13fffh 1bfffh 23fffh (refer to 4. special function registers (sfrs) ) (refer to 4. special function registers (sfrs) )
r01ds0012ej0110 rev.1.10 page 26 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 3. memory 3.4 r8c/34z group figure 3.4 is a memory map of r8 c/34z group. the r8c/34z group has a 1-mbyte address space from addresses 00000h to fffffh. the internal rom (program rom) is allocated lower addresses, beginning with address 0ffffh. for example, a 48-kbyte internal rom area is allocated addresses 04000h to 0ffffh. the fixed interrupt vector table is allocated addresses 0ffdch to 0ffffh. the starting address of each interrupt routine is stored here. the internal ram is allocated higher addresses, beginni ng with address 00400h. for example, a 4-kbyte internal ram area is allocated addresses 00400h to 013ffh. the internal ram is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. special function registers (sfr s) are allocated addresses 00000h to 002ffh and 02c00h to 02fffh (the sfr areas for the dtc and other modules). peripheral function contro l registers are allocated here. all unallocated spaces within the sfrs are reserved and cannot be accessed by users. figure 3.4 memory map of r8c/34z group 0ffffh 0ffdch notes: 1. the sfr areas for t he dtc and other mo dules are allocated to ad dresses 02c00h to 02fffh. 2. the blank areas are reserved and cannot be accessed by users. fffffh 0ffffh 0yyyyh 0xxxxh 00400h 002ffh 00000h internal rom (program rom) internal ram sfr 02fffh 02c00h sfr (1) zzzzzh internal rom (program rom) undefined instruction overflow brk instruction address match single step watchdog timer, oscillation stop detection, voltage monitor address break (reserved) reset part number r5f21346zjfp, r5f21346zkfp r5f21347zjfp, r5f21347zkfp r5f21348zjfp, r5f21348zkfp r5f2134azjfp, r5f2134azkfp r5f2134czjfp, r5f2134czkfp internal rom internal ram size address 0yyyyh size address 0xxxxh address zzzzzh 32 kbytes 48 kbytes 64 kbytes 96 kbytes 128 kbytes 08000h 04000h 04000h 04000h 04000h 2.5 kbytes 4 kbytes 6 kbytes 8 kbytes 10 kbytes 00dffh 013ffh 01bffh 023ffh 02bffh 13fffh 1bfffh 23fffh (refer to 4. special function registers (sfrs) ) (refer to 4. special function registers (sfrs) )
r01ds0012ej0110 rev.1.10 page 27 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) 4. special function registers (sfrs) an sfr (special function regist er) is a control register for a peripheral function. tables 4.1 to 4.17 list the special function registers. table 4.18 lists the id code areas and option function select area. table 4.1 sfr information (1) (1) x: undefined notes: 1. the blank areas are reserved and cannot be acce ssed by users. 2. the cwr bit in the rstfr register is set to 0 after power -on and voltage monitor 0 reset. hardware reset, software reset, or watchdog timer reset does not affect this bit. 3. the csproini bit in the ofs register is set to 0. 4. the lvdas bit in the ofs register is set to 1. 5. the lvdas bit in the ofs register is set to 0. address register symbol after reset 0000h 0001h 0002h 0003h 0004h processor mode register 0 pm0 00h 0005h processor mode register 1 pm1 00h 0006h system clock control register 0 cm0 00101000b 0007h system clock control register 1 cm1 00100000b 0008h module standby control register mstcr 00h 0009h system clock control register 3 cm3 00h 000ah protect register prcr 00h 000bh reset source determ ination register rstfr 0xxxxxxxb (2) 000ch oscillation stop detection register ocd 00000100b 000dh watchdog timer reset register wdtr xxh 000eh watchdog timer start register wdts xxh 000fh watchdog timer control register wdtc 00111111b 0010h 0011h 0012h 0013h 0014h 0015h high-speed on-chip oscillator c ontrol register 7 fra7 when shipping 0016h 0017h 0018h 0019h 001ah 001bh 001ch count source protecti on mode register cspr 00h 10000000b (3) 001dh 001eh 001fh 0020h 0021h 0022h 0023h high-speed on-chip oscilla tor control register 0 fra0 00h 0024h high-speed on-chip oscillator c ontrol register 1 fra1 when shipping 0025h high-speed on-chip oscilla tor control register 2 fra2 00h 0026h on-chip reference voltage control register ocvrefcr 00h 0027h 0028h 0029h high-speed on-chip oscillator c ontrol register 4 fra4 when shipping 002ah high-speed on-chip oscillator c ontrol register 5 fra5 when shipping 002bh high-speed on-chip oscillator c ontrol register 6 fra6 when shipping 002ch 002dh 002eh 002fh high-speed on-chip oscillator control register 3 fra3 when shipping 0030h voltage monitor circuit control register cmpa 00h 0031h voltage monitor circuit edge select register vcac 00h 0032h 0033h voltage detect register 1 vca1 00001000b 0034h voltage detect register 2 vca2 00h (4) 00100000b (5) 0035h 0036h voltage detection 1 level select register vd1ls 00000111b 0037h 0038h voltage monitor 0 circuit control register vw0c 1100x010b (4) 1100x011b (5) 0039h voltage monitor 1 circuit control register vw1c 10001010b
r01ds0012ej0110 rev.1.10 page 28 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.2 sfr information (2) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 003ah voltage monitor 2 circuit control register vw2c 10000010b 003bh 003ch 003dh 003eh 003fh 0040h 0041h flash memory ready interrupt control register fmrdyic xxxxx000b 0042h 0043h 0044h 0045h 0046h int4 interrupt control register int4ic xx00x000b 0047h timer rc interrupt control register trcic xxxxx000b 0048h timer rd0 interrupt control register trd0ic xxxxx000b 0049h timer rd1 interrupt control register trd1ic xxxxx000b 004ah timer re interrupt cont rol register treic xxxxx000b 004bh uart2 transmit interrupt control register s2tic xxxxx000b 004ch uart2 receive interrupt control register s2ric xxxxx000b 004dh key input interrupt control register kupic xxxxx000b 004eh a/d conversion interrupt control register adic xxxxx000b 004fh ssu interrupt control register ssuic xxxxx000b 0050h 0051h uart0 transmit interrupt control register s0tic xxxxx000b 0052h uart0 receive interrupt control register s0ric xxxxx000b 0053h 0054h 0055h int2 interrupt control register int2ic xx00x000b 0056h timer ra interrupt cont rol register traic xxxxx000b 0057h 0058h timer rb interrupt cont rol register trbic xxxxx000b 0059h int1 interrupt control register int1ic xx00x000b 005ah int3 interrupt control register int3ic xx00x000b 005bh 005ch 005dh int0 interrupt control register int0ic xx00x000b 005eh uart2 bus collision detection inte rrupt control register u2bcnic xxxxx000b 005fh 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006ah 006bh 006ch can0 reception complete interr upt control register c0ric xxxxx000b 006dh can0 transmission complete int errupt control register c0tic xxxxx000b 006eh can0 receive fifo interrupt control register c0fric xxxxx000b 006fh can0 transmit fifo interrupt control register c0ftic xxxxx000b 0070h can0 error interrupt control register c0eic xxxxx000b 0071h can0 wake-up interrupt control register c0wic xxxxx000b 0072h voltage monitor 1 interrupt control register vcmp1ic xxxxx000b 0073h voltage monitor 2 interrupt control register vcmp2ic xxxxx000b 0074h 0075h 0076h 0077h 0078h 0079h 007ah 007bh 007ch 007dh 007eh 007fh
r01ds0012ej0110 rev.1.10 page 29 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.3 sfr information (3) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 0080h dtc activation control register dtctl 00h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h dtc activation enable register 0 dtcen0 00h 0089h dtc activation enable register 1 dtcen1 00h 008ah dtc activation enable register 2 dtcen2 00h 008bh dtc activation enable register 3 dtcen3 00h 008ch dtc activation enable register 4 dtcen4 00h 008dh dtc activation enable register 5 dtcen5 00h 008eh dtc activation enable register 6 dtcen6 00h 008fh 0090h 0091h 0092h 0093h 0094h 0095h 0096h 0097h 0098h 0099h 009ah 009bh 009ch 009dh 009eh 009fh 00a0h uart0 transmit/receive mode register u0mr 00h 00a1h uart0 bit rate register u0brg xxh 00a2h uart0 transmit buffer register u0tb xxh 00a3h xxh 00a4h uart0 transmit/receive control register 0 u0c0 00001000b 00a5h uart0 transmit/receive control register 1 u0c1 00000010b 00a6h uart0 receive buffer register u0rb xxh 00a7h xxh 00a8h uart2 transmit/receive mode register u2mr 00h 00a9h uart2 bit rate register u2brg xxh 00aah uart2 transmit buffer register u2tb xxh 00abh xxh 00ach uart2 transmit/receive control register 0 u2c0 00001000b 00adh uart2 transmit/receive control register 1 u2c1 00000010b 00aeh uart2 receive buffer register u2rb xxh 00afh xxh 00b0h uart2 digital filter function select register urxdf 00h 00b1h 00b2h 00b3h 00b4h 00b5h 00b6h 00b7h 00b8h 00b9h 00bah 00bbh uart2 special mode register 5 u2smr5 00h 00bch uart2 special mode register 4 u2smr4 00h 00bdh uart2 special mode register 3 u2smr3 000x0x0xb 00beh uart2 special mode register 2 u2smr2 x0000000b 00bfh uart2 special mode register u2smr x0000000b
r01ds0012ej0110 rev.1.10 page 30 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.4 sfr information (4) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 00c0h a/d register 0 ad0 xxh 000000xxb 00c1h 00c2h a/d register 1 ad1 xxh 00c3h 000000xxb 00c4h a/d register 2 ad2 xxh 00c5h 000000xxb 00c6h a/d register 3 ad3 xxh 00c7h 000000xxb 00c8h a/d register 4 ad4 xxh 00c9h 000000xxb 00cah a/d register 5 ad5 xxh 00cbh 000000xxb 00cch a/d register 6 ad6 xxh 00cdh 000000xxb 00ceh a/d register 7 ad7 xxh 00cfh 000000xxb 00d0h 00d1h 00d2h 00d3h 00d4h a/d mode register admod 00h 00d5h a/d input select register adinsel 11000000b 00d6h a/d control register 0 adcon0 00h 00d7h a/d control register 1 adcon1 00h 00d8h 00d9h 00dah 00dbh 00dch 00ddh 00deh 00dfh 00e0h port p0 register p0 xxh 00e1h port p1 register p1 xxh 00e2h port p0 direction register pd0 00h 00e3h port p1 direction register pd1 00h 00e4h port p2 register p2 xxh 00e5h port p3 register p3 xxh 00e6h port p2 direction register pd2 00h 00e7h port p3 direction register pd3 00h 00e8h port p4 register p4 xxh 00e9h 00eah port p4 direction register pd4 00h 00ebh 00ech port p6 register p6 xxh 00edh 00eeh port p6 direction register pd6 00h 00efh 00f0h 00f1h 00f2h 00f3h 00f4h 00f5h 00f6h 00f7h 00f8h 00f9h 00fah 00fbh 00fch 00fdh 00feh 00ffh
r01ds0012ej0110 rev.1.10 page 31 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.5 sfr information (5) (1) note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 0100h timer ra control register tracr 00h 0101h timer ra i/o control register traioc 00h 0102h timer ra mode register tramr 00h 0103h timer ra prescaler register trapre ffh 0104h timer ra register tra ffh 0105h lin control register 2 lincr2 00h 0106h lin control register lincr 00h 0107h lin status register linst 00h 0108h timer rb control register trbcr 00h 0109h timer rb one-shot control register trbocr 00h 010ah timer rb i/o control register trbioc 00h 010bh timer rb mode register trbmr 00h 010ch timer rb prescaler register trbpre ffh 010dh timer rb secondary register trbsc ffh 010eh timer rb primary register trbpr ffh 010fh 0110h 0111h 0112h 0113h 0114h 0115h 0116h 0117h 0118h timer re counter data register tresec 00h 0119h timer re compare data register tremin 00h 011ah 011bh 011ch timer re control register 1 trecr1 00h 011dh timer re control register 2 trecr2 00h 011eh timer re count source se lect register trecsr 00001000b 011fh 0120h timer rc mode register trcmr 01001000b 0121h timer rc control register 1 trccr1 00h 0122h timer rc interrupt enable register trcier 01110000b 0123h timer rc status register trcsr 01110000b 0124h timer rc i/o control register 0 trcior0 10001000b 0125h timer rc i/o control register 1 trcior1 10001000b 0126h timer rc counter trc 00h 0127h 00h 0128h timer rc general register a trcgra ffh 0129h ffh 012ah timer rc general register b trcgrb ffh 012bh ffh 012ch timer rc general register c trcgrc ffh 012dh ffh 012eh timer rc general register d trcgrd ffh 012fh ffh 0130h timer rc control register 2 trccr2 00011000b 0131h timer rc digital filter function select register trcdf 00h 0132h timer rc output master enable register trcoer 01111111b 0133h timer rc trigger control register trcadcr 00h 0134h 0135h 0136h timer rd trigger control register trdadcr 00h 0137h timer rd start register trdstr 11111100b 0138h timer rd mode register trdmr 00001110b 0139h timer rd pwm mode register trdpmr 10001000b 013ah timer rd function control register trdfcr 10000000b 013bh timer rd output master enable register 1 trdoer1 ffh 013ch timer rd output master en able register 2 trdoer2 01111111b 013dh timer rd output control register trdocr 00h 013eh timer rd digital filter function select register 0 trddf0 00h 013fh timer rd digital filter function select register 1 trddf1 00h
r01ds0012ej0110 rev.1.10 page 32 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.6 sfr information (6) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 0140h timer rd control register 0 trdcr0 00h 0141h timer rd i/o control register a0 trdiora0 10001000b 0142h timer rd i/o control register c0 trdiorc0 10001000b 0143h timer rd status register 0 trdsr0 11100000b 0144h timer rd interrupt enable register 0 trdier0 11100000b 0145h timer rd pwm mode output level control register 0 trdpocr0 11111000b 0146h timer rd counter 0 trd0 00h 0147h 00h 0148h timer rd general register a0 trdgra0 ffh 0149h ffh 014ah timer rd general register b0 trdgrb0 ffh 014bh ffh 014ch timer rd general register c0 trdgrc0 ffh 014dh ffh 014eh timer rd general register d0 trdgrd0 ffh 014fh ffh 0150h timer rd control register 1 trdcr1 00h 0151h timer rd i/o control register a1 trdiora1 10001000b 0152h timer rd i/o control register c1 trdiorc1 10001000b 0153h timer rd status register 1 trdsr1 11000000b 0154h timer rd interrupt enable register 1 trdier1 11100000b 0155h timer rd pwm mode output level control register 1 trdpocr1 11111000b 0156h timer rd counter 1 trd1 00h 0157h 00h 0158h timer rd general register a1 trdgra1 ffh 0159h ffh 015ah timer rd general register b1 trdgrb1 ffh 015bh ffh 015ch timer rd general register c1 trdgrc1 ffh 015dh ffh 015eh timer rd general register d1 trdgrd1 ffh 015fh ffh 0160h 0161h 0162h 0163h 0164h 0165h 0166h 0167h 0168h 0169h 016ah 016bh 016ch 016dh 016eh 016fh 0170h 0171h 0172h 0173h 0174h 0175h 0176h 0177h 0178h 0179h 017ah 017bh 017ch 017dh 017eh 017fh
r01ds0012ej0110 rev.1.10 page 33 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.7 sfr information (7) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 0180h timer ra pin select register trasr 00h 0181h timer rb/rc pin select register trbrcsr 00h 0182h timer rc pin select register 0 trcpsr0 00h 0183h timer rc pin select register 1 trcpsr1 00h 0184h timer rd pin select register 0 trdpsr0 00h 0185h timer rd pin select register 1 trdpsr1 00h 0186h timer pin select register timsr 00h 0187h 0188h uart0 pin select register u0sr 00h 0189h 018ah uart2 pin select register 0 u2sr0 00h 018bh uart2 pin select register 1 u2sr1 00h 018ch ssu pin select register ssuiicsr 00h 018dh 018eh int interrupt input pin select register intsr 00h 018fh i/o function pin select register pinsr 00h 0190h 0191h 0192h 0193h ss bit counter register ssbr 11111000b 0194h ss transmit data register sstdr ffh ffh 0195h 0196h ss receive data register ssrdr ffh ffh 0197h 0198h ss control register h sscrh 00h 0199h ss control register l sscrl 01111101b 019ah ss mode register ssmr 00010000b 019bh ss enable register sser 00h 019ch ss status register sssr 00h 019dh ss mode register 2 ssmr2 00h 019eh 019fh 01a0h 01a1h 01a2h 01a3h 01a4h 01a5h 01a6h 01a7h 01a8h 01a9h 01aah 01abh 01ach 01adh 01aeh 01afh 01b0h 01b1h 01b2h flash memory status register fst 10000x00b 01b3h 01b4h flash memory control register 0 fmr0 00h 01b5h flash memory control register 1 fmr1 00h 01b6h flash memory control register 2 fmr2 00h 01b7h 01b8h 01b9h 01bah 01bbh 01bch 01bdh 01beh 01bfh
r01ds0012ej0110 rev.1.10 page 34 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.8 sfr information (8) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 01c0h address match interrupt register 0 rmad0 xxh 01c1h xxh 01c2h 0000xxxxb 01c3h address match interrupt enable register 0 aier0 00h 01c4h address match interrupt register 1 rmad1 xxh 01c5h xxh 01c6h 0000xxxxb 01c7h address match interrupt enable register 1 aier1 00h 01c8h 01c9h 01cah 01cbh 01cch 01cdh 01ceh 01cfh 01d0h 01d1h 01d2h 01d3h 01d4h 01d5h 01d6h 01d7h 01d8h 01d9h 01dah 01dbh 01dch 01ddh 01deh 01dfh 01e0h pull-up control register 0 pur0 00h 01e1h pull-up control register 1 pur1 00h 01e2h 01e3h 01e4h 01e5h 01e6h 01e7h 01e8h 01e9h 01eah 01ebh 01ech 01edh 01eeh 01efh 01f0h 01f1h 01f2h 01f3h 01f4h 01f5h input threshold control register 0 vlt0 00h 01f6h input threshold control register 1 vlt1 00h 01f7h 01f8h 01f9h 01fah external input enab le register 0 inten 00h 01fbh external input enab le register 1 inten1 00h 01fch int input filter select register 0 intf 00h 01fdh int input filter select register 1 intf1 00h 01feh key input enable register 0 kien 00h 01ffh
r01ds0012ej0110 rev.1.10 page 35 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.9 sfr information (9) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2c00h dtc transfer vector area xxh 2c01h dtc transfer vector area xxh 2c02h dtc transfer vector area xxh 2c03h dtc transfer vector area xxh 2c04h dtc transfer vector area xxh 2c05h 2c06h 2c07h 2c08h dtc transfer vector area xxh 2c09h dtc transfer vector area xxh 2c0ah dtc transfer vector area xxh : dtc transfer vector area xxh : dtc transfer vector area xxh 2c3ah 2c3bh 2c3ch 2c3dh 2c3eh 2c3fh 2c40h dtc control data 0 dtcd0 xxh 2c41h xxh 2c42h xxh 2c43h xxh 2c44h xxh 2c45h xxh 2c46h xxh 2c47h xxh 2c48h dtc control data 1 dtcd1 xxh 2c49h xxh 2c4ah xxh 2c4bh xxh 2c4ch xxh 2c4dh xxh 2c4eh xxh 2c4fh xxh 2c50h dtc control data 2 dtcd2 xxh 2c51h xxh 2c52h xxh 2c53h xxh 2c54h xxh 2c55h xxh 2c56h xxh 2c57h xxh 2c58h dtc control data 3 dtcd3 xxh 2c59h xxh 2c5ah xxh 2c5bh xxh 2c5ch xxh 2c5dh xxh 2c5eh xxh 2c5fh xxh 2c60h dtc control data 4 dtcd4 xxh 2c61h xxh 2c62h xxh 2c63h xxh 2c64h xxh 2c65h xxh 2c66h xxh 2c67h xxh 2c68h dtc control data 5 dtcd5 xxh 2c69h xxh 2c6ah xxh 2c6bh xxh 2c6ch xxh 2c6dh xxh 2c6eh xxh 2c6fh xxh
r01ds0012ej0110 rev.1.10 page 36 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.10 sfr information (10) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2c70h dtc control data 6 dtcd6 xxh 2c71h xxh 2c72h xxh 2c73h xxh 2c74h xxh 2c75h xxh 2c76h xxh 2c77h xxh 2c78h dtc control data 7 dtcd7 xxh 2c79h xxh 2c7ah xxh 2c7bh xxh 2c7ch xxh 2c7dh xxh 2c7eh xxh 2c7fh xxh 2c80h dtc control data 8 dtcd8 xxh 2c81h xxh 2c82h xxh 2c83h xxh 2c84h xxh 2c85h xxh 2c86h xxh 2c87h xxh 2c88h dtc control data 9 dtcd9 xxh 2c89h xxh 2c8ah xxh 2c8bh xxh 2c8ch xxh 2c8dh xxh 2c8eh xxh 2c8fh xxh 2c90h dtc control data 10 dtcd10 xxh 2c91h xxh 2c92h xxh 2c93h xxh 2c94h xxh 2c95h xxh 2c96h xxh 2c97h xxh 2c98h dtc control data 11 dtcd11 xxh 2c99h xxh 2c9ah xxh 2c9bh xxh 2c9ch xxh 2c9dh xxh 2c9eh xxh 2c9fh xxh 2ca0h dtc control data 12 dtcd12 xxh 2ca1h xxh 2ca2h xxh 2ca3h xxh 2ca4h xxh 2ca5h xxh 2ca6h xxh 2ca7h xxh 2ca8h dtc control data 13 dtcd13 xxh 2ca9h xxh 2caah xxh 2cabh xxh 2cach xxh 2cadh xxh 2caeh xxh 2cafh xxh
r01ds0012ej0110 rev.1.10 page 37 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.11 sfr information (11) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2cb0h dtc control data 14 dtcd14 xxh 2cb1h xxh 2cb2h xxh 2cb3h xxh 2cb4h xxh 2cb5h xxh 2cb6h xxh 2cb7h xxh 2cb8h dtc control data 15 dtcd15 xxh 2cb9h xxh 2cbah xxh 2cbbh xxh 2cbch xxh 2cbdh xxh 2cbeh xxh 2cbfh xxh 2cc0h dtc control data 16 dtcd16 xxh 2cc1h xxh 2cc2h xxh 2cc3h xxh 2cc4h xxh 2cc5h xxh 2cc6h xxh 2cc7h xxh 2cc8h dtc control data 17 dtcd17 xxh 2cc9h xxh 2ccah xxh 2ccbh xxh 2ccch xxh 2ccdh xxh 2cceh xxh 2ccfh xxh 2cd0h dtc control data 18 dtcd18 xxh 2cd1h xxh 2cd2h xxh 2cd3h xxh 2cd4h xxh 2cd5h xxh 2cd6h xxh 2cd7h xxh 2cd8h dtc control data 19 dtcd19 xxh 2cd9h xxh 2cdah xxh 2cdbh xxh 2cdch xxh 2cddh xxh 2cdeh xxh 2cdfh xxh 2ce0h dtc control data 20 dtcd20 xxh 2ce1h xxh 2ce2h xxh 2ce3h xxh 2ce4h xxh 2ce5h xxh 2ce6h xxh 2ce7h xxh 2ce8h dtc control data 21 dtcd21 xxh 2ce9h xxh 2ceah xxh 2cebh xxh 2cech xxh 2cedh xxh 2ceeh xxh 2cefh xxh
r01ds0012ej0110 rev.1.10 page 38 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.12 sfr information (12) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2cf0h dtc control data 22 dtcd22 xxh 2cf1h xxh 2cf2h xxh 2cf3h xxh 2cf4h xxh 2cf5h xxh 2cf6h xxh 2cf7h xxh 2cf8h dtc control data 23 dtcd23 xxh 2cf9h xxh 2cfah xxh 2cfbh xxh 2cfch xxh 2cfdh xxh 2cfeh xxh 2cffh xxh 2d00h 2d01h : 2e00h can0 mailbox 0 : message id c0mb0 xxh xxh xxh xxh 2e01h 2e02h 2e03h 2e04h 2e05h can0 mailbox 0 : data length xxh 2e06h can0 mailbox 0 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e07h 2e08h 2e09h 2e0ah 2e0bh 2e0ch 2e0dh 2e0eh can0 mailbox 0 : time stamp xxh xxh 2e0fh 2e10h can0 mailbox 1 : message id c0mb1 xxh xxh xxh xxh 2e11h 2e12h 2e13h 2e14h 2e15h can0 mailbox 1 : data length xxh 2e16h can0 mailbox 1 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e17h 2e18h 2e19h 2e1ah 2e1bh 2e1ch 2e1dh 2e1eh can0 mailbox 1 : time stamp xxh xxh 2e1fh 2e20h can0 mailbox 2 : message id c0mb2 xxh xxh xxh xxh 2e21h 2e22h 2e23h 2e24h 2e25h can0 mailbox 2 : data length xxh 2e26h can0 mailbox 2 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e27h 2e28h 2e29h 2e2ah 2e2bh 2e2ch 2e2dh 2e2eh can0 mailbox 2 : time stamp xxh xxh 2e2fh
r01ds0012ej0110 rev.1.10 page 39 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.13 sfr information (13) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2e30h can0 mailbox 3 : message id c0mb3 xxh xxh xxh xxh 2e31h 2e32h 2e33h 2e34h 2e35h can0 mailbox 3 : data length xxh 2e36h can0 mailbox 3 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e37h 2e38h 2e39h 2e3ah 2e3bh 2e3ch 2e3dh 2e3eh can0 mailbox3 : time stamp xxh xxh 2e3fh 2e40h can0 mailbox4 : message id c0mb4 xxh xxh xxh xxh 2e41h 2e42h 2e43h 2e44h 2e45h can0 mailbox4 : data length xxh 2e46h can0 mailbox4 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e47h 2e48h 2e49h 2e4ah 2e4bh 2e4ch 2e4dh 2e4eh can0 mailbox4 : time stamp xxh xxh 2e4fh 2e50h can0 mailbox5 : message id c0mb5 xxh xxh xxh xxh 2e51h 2e52h 2e53h 2e54h 2e55h can0 mailbox5 : data length xxh 2e56h can0 mailbox5 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e57h 2e58h 2e59h 2e5ah 2e5bh 2e5ch 2e5dh 2e5eh can0 mailbox5 : time stamp xxh xxh 2e5fh 2e60h can0 mailbox6 : message id c0mb6 xxh xxh xxh xxh 2e61h 2e62h 2e63h 2e64h 2e65h can0 mailbox6 : data length xxh 2e66h can0 mailbox6 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e67h 2e68h 2e69h 2e6ah 2e6bh 2e6ch 2e6dh 2e6eh can0 mailbox6 : time stamp xxh xxh 2e6fh
r01ds0012ej0110 rev.1.10 page 40 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.14 sfr information (14) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2e70h can0 mailbox7 : message id c0mb7 xxh xxh xxh xxh 2e71h 2e72h 2e73h 2e74h 2e75h can0 mailbox7 : data length xxh 2e76h can0 mailbox7 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e77h 2e78h 2e79h 2e7ah 2e7bh 2e7ch 2e7dh 2e7eh can0 mailbox7 : time stamp xxh xxh 2e7fh 2e80h can0 mailbox8 : message id c0mb8 xxh xxh xxh xxh 2e81h 2e82h 2e83h 2e84h 2e85h can0 mailbox8 : data length xxh 2e86h can0 mailbox8 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e87h 2e88h 2e89h 2e8ah 2e8bh 2e8ch 2e8dh 2e8eh can0 mailbox8 : time stamp xxh xxh 2e8fh 2e90h can0 mailbox9 : message id c0mb9 xxh xxh xxh xxh 2e91h 2e92h 2e93h 2e94h 2e95h can0 mailbox9 : data length xxh 2e96h can0 mailbox9 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2e97h 2e98h 2e99h 2e9ah 2e9bh 2e9ch 2e9dh 2e9eh can0 mailbox9 : time stamp xxh xxh 2e9fh 2ea0h can0 mailbox10 : message id c0mb10 xxh xxh xxh xxh 2ea1h 2ea2h 2ea3h 2ea4h 2ea5h can0 mailbox10 : data length xxh 2ea6h can0 mailbox10 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2ea7h 2ea8h 2ea9h 2eaah 2eabh 2each 2eadh 2eaeh can0 mailbox10 : time stamp xxh xxh 2eafh
r01ds0012ej0110 rev.1.10 page 41 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.15 sfr information (15) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2eb0h can0 mailbox11 : message id c0mb11 xxh xxh xxh xxh 2eb1h 2eb2h 2eb3h 2eb4h 2eb5h can0 mailbox11 : data length xxh 2eb6h can0 mailbox11 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2eb7h 2eb8h 2eb9h 2ebah 2ebbh 2ebch 2ebdh 2ebeh can0 mailbox11 : time stamp xxh xxh 2ebfh 2ec0h can0 mailbox12 : message id c0mb12 xxh xxh xxh xxh 2ec1h 2ec2h 2ec3h 2ec4h 2ec5h can0 mailbox12 : data length xxh 2ec6h can0 mailbox12 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2ec7h 2ec8h 2ec9h 2ecah 2ecbh 2ecch 2ecdh 2eceh can0 mailbox12 : time stamp xxh xxh 2ecfh 2ed0h can0 mailbox13 : message id c0mb13 xxh xxh xxh xxh 2ed1h 2ed2h 2ed3h 2ed4h 2ed5h can0 mailbox13 : data length xxh 2ed6h can0 mailbox13 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2ed7h 2ed8h 2ed9h 2edah 2edbh 2edch 2eddh 2edeh can0 mailbox13 : time stamp xxh xxh 2edfh 2ee0h can0 mailbox14 : message id c0mb14 xxh xxh xxh xxh 2ee1h 2ee2h 2ee3h 2ee4h 2ee5h can0 mailbox14 : data length xxh 2ee6h can0 mailbox14 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2ee7h 2ee8h 2ee9h 2eeah 2eebh 2eech 2eedh 2eeeh can0 mailbox14 : time stamp xxh xxh 2eefh
r01ds0012ej0110 rev.1.10 page 42 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.16 sfr information (16) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. address register symbol after reset 2ef0h can0 mailbox15 : message id c0mb15 xxh xxh xxh xxh 2ef1h 2ef2h 2ef3h 2ef4h 2ef5h can0 mailbox15 : data length xxh 2ef6h can0 mailbox15 : data field xxh xxh xxh xxh xxh xxh xxh xxh 2ef7h 2ef8h 2ef9h 2efah 2efbh 2efch 2efdh 2efeh can0 mailbox15 : time stamp xxh xxh 2effh 2f00h 2f01h 2f02h 2f03h 2f04h 2f05h 2f06h 2f07h 2f08h 2f09h 2f0ah 2f0bh 2f0ch 2f0dh 2f0eh 2f0fh 2f10h can0 mask register 0 c0mkr0 xxh xxh xxh xxh 2f11h 2f12h 2f13h 2f14h can0 mask register 1 c0mkr1 xxh xxh xxh xxh 2f15h 2f16h 2f17h 2f18h can0 mask register 2 c0mkr2 xxh xxh xxh xxh 2f19h 2f1ah 2f1bh 2f1ch can0 mask register 3 c0mkr3 xxh xxh xxh xxh 2f1dh 2f1eh 2f1fh 2f20h can0 fifo received id compare register 0 c0fidcr0 xxh xxh xxh xxh 2f21h 2f22h 2f23h 2f24h can0 fifo received id compare register 1 c0fidcr1 xxh xxh xxh xxh 2f25h 2f26h 2f27h 2f28h 2f29h 2f2ah can0 mask invalid register c0mkivlr xxh xxh 2f2bh 2f2ch 2f2dh 2f2eh can0 mailbox interrupt enable register c0mier xxh xxh 2f2fh 2f30h can0 message control register 0 c0mctl0 00h 2f31h can0 message control register 1 c0mctl1 00h 2f32h can0 message control register 2 c0mctl2 00h 2f33h can0 message control register 3 c0mctl3 00h 2f34h can0 message control register 4 c0mctl4 00h 2f35h can0 message control register 5 c0mctl5 00h 2f36h can0 message control register 6 c0mctl6 00h 2f37h can0 message control register 7 c0mctl7 00h 2f38h can0 message control register 8 c0mctl8 00h 2f39h can0 message control register 9 c0mctl9 00h 2f3ah can0 message control register 10 c0mctl10 00h
r01ds0012ej0110 rev.1.10 page 43 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8 c/34z group 4. special f unction registers (sfrs) table 4.17 sfr information (17) (1) x: undefined note: 1. the blank areas are reserved and cannot be acce ssed by users. table 4.18 id code areas and option function select area notes: 1. the option function select area is allocat ed in the flash memory, not in the sfrs. set appropriate values as rom data by a pr ogram. do not write additions to the option func tion select area. if the block including the option function select area is erased, th e option function select area is set to ffh. when blank products are shipped, the option function select area is set to ffh. it is set to the written value after written by the user. when factory-programming products are shippe d, the value of the option function se lect area is the value programmed by the user . 2. the id code areas are allocated in the flash memory, not in the sfrs. set approp riate values as rom data by a program. do not write additions to the id code areas. if the block including the id code areas is erased, the id code areas are set to f fh. when blank products are shipped, the id c ode areas are set to ffh. they are set to t he written value after written by the user. when factory-programming products are shipped, the value of the id code areas is t he value programmed by the user. address register symbol after reset 2f3bh can0 message control register 11 c0mctl11 00h 2f3ch can0 message control register 12 c0mctl12 00h 2f3dh can0 message control register 13 c0mctl13 00h 2f3eh can0 message control register 14 c0mctl14 00h 2f3fh can0 message control register 15 c0mctl15 00h 2f40h can0 control register c0ctlr 00000101b 00h 2f41h 2f42h can0 status register c0str 00000101b 00h 2f43h 2f44h can0 bit configuration register c0bcr 00h 00h 00h 2f45h 2f46h 2f47h 2f48h can0 receive fifo control register c0rfcr 10000000b 2f49h can0 receive fifo point er control register c0rfpcr xxh 2f4ah can0 transmit fifo c ontrol register c0tfcr 10000000b 2f4bh can0 transmit fifo pointer control register c0tfpcr xxh 2f4ch can0 error interrupt enable register c0eier 00h 2f4dh can0 error interrupt factor judge register c0eifr 00h 2f4eh can0 reception error count register c0recr 00h 2f4fh can0 transmission error count register c0tecr 00h 2f50h can0 error code store register c0ecsr 00h 2f51h can0 channel search support register c0cssr xxh 2f52h can0 mailbox search st atus register c0mssr 10000000b 2f53h can0 mailbox search mode register c0msmr 00h 2f54h can0 time stamp register c0tsr 00h 00h 2f55h 2f56h can0 acceptance filter support register c0afsr xxh xxh 2f57h 2f58h can0 test control register c0tcr 00h : 2fffh address area name symbol after reset : ffdbh option function select register 2 ofs2 (note 1) : ffdfh id1 (note 2) : ffe3h id2 (note 2) : ffebh id3 (note 2) : ffefh id4 (note 2) : fff3h id5 (note 2) : fff7h id6 (note 2) : fffbh id7 (note 2) : ffffh option function select register ofs (note 1)
r01ds0012ej0110 rev.1.10 page 44 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics 5. electrical characteristics notes: 1. meet the specified range for the input voltage or the input current. 2. applicable ports: p0 to p2, p3_0, p3_1, p3_3 to p3_5, p3_7, p4_3 to p4_5, p6 3. the total input current must be 12 ma or less. 4. even if no voltage is supplied to vcc, the input current may cause the mcu to be powered on and operate. when a voltage is supplied to vcc, the input current may cause the supply volt age to rise. since operations in any cases other than above are not guaranteed, use the power supply circuit in the system to ensure the supply voltage for the mcu is stable within the specified range. table 5.1 absolute maximum ratings symbol parameter condition rated value unit v cc /av cc supply voltage ? 0.3 to 6.5 v v i input voltage (1) ? 0.3 to v cc + 0.3 v iin input current (1) (2, 3, 4) ? 4 to 4 ma v o output voltage ? 0.3 to v cc + 0.3 v p d power dissipation ? 40 c t opr < 85 c300mw 85 c t opr < 125 c125mw t opr operating ambient temperature ? 40 to 85 (j version) / ? 40 to 125 (k version) c t stg storage temperature ? 65 to 150 c
r01ds0012ej0110 rev.1.10 page 45 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. v cc = 2.7 to 5.5 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), unless otherwise specified. 2. the average output current indicates the av erage value of current measured during 100 ms. table 5.2 recommended operating conditions (1) symbol parameter conditions standard unit min. typ. max. v cc /av cc supply voltage 2.7 ? 5.5 v v ss /av ss supply voltage ? 0 ? v v ih input ?h? voltage other than cmos input 0.8 v cc ? v cc v cmos input input level switching function (i/o port) input level selection : 0.35 v cc 4.0 v v cc 5.5 v 0.5 v cc ? v cc v 2.7 v v cc < 4.0 v 0.55 v cc ? v cc v input level selection : 0.5 v cc 4.0 v v cc 5.5 v 0.65 v cc ? v cc v 2.7 v v cc < 4.0 v 0.7 v cc ? v cc v input level selection : 0.7 v cc 4.0 v v cc 5.5 v 0.85 v cc ? v cc v 2.7 v v cc < 4.0 v 0.85 v cc ? v cc v external clock input (xout) 1.2 ? v cc v v il input ?l? voltage other than cmos input 0 ? 0.2 v cc v cmos input input level switching function (i/o port) input level selection : 0.35 v cc 4.0 v v cc 5.5 v 0 ? 0.2 v cc v 2.7 v v cc < 4.0 v 0 ? 0.2 v cc v input level selection : 0.5 v cc 4.0 v v cc 5.5 v 0 ? 0.4 v cc v 2.7 v v cc < 4.0 v 0 ? 0.3 v cc v input level selection : 0.7 v cc 4.0 v v cc 5.5 v 0 ? 0.55 v cc v 2.7 v v cc < 4.0 v 0 ? 0.45 v cc v external clock input (xout) 0 ? 0.4 v i oh(sum) peak sum output ?h? sum of all pins i oh(peak) ??? 80 ma i oh(sum) average sum output ?h? sum of all pins i oh(avg) ??? 40 ma i oh(peak) peak output ?h? current ??? 10 ma i oh(avg) average output ?h? current ??? 5ma i ol(sum) peak sum output ?l? sum of all pins i ol(peak) ?? 80 ma i ol(sum) average sum output ?l? sum of all pins i ol(avg) ?? 40 ma i ol(peak) peak output ?l? current ?? 10 ma i ol(avg) average output ?l? current ?? 5ma f (xin) xin clock input oscillation frequency 2.7 v v cc 5.5 v ?? 20 mhz foco40m when used as the count source for timer rc or timer rd 2.7 v v cc 5.5 v 32 ? 40 mhz foco-f foco-f frequency 2.7 v v cc 5.5 v ?? 20 mhz ? system clock frequency 2.7 v v cc 5.5 v ?? 20 mhz f (bclk) cpu clock frequency 2.7 v v cc 5.5 v ?? 20 mhz
r01ds0012ej0110 rev.1.10 page 46 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. v cc = 4.5 to 5.5 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), unless otherwise specified. figure 5.1 ports p0 to p2, p3_0, p3_1, p3_3 to p3_5, p3_7, p4_2 to p4_7, and p6 timing measurement circuit table 5.3 recommended operating conditions (2) symbol parameter conditions standard unit min. typ. max. i ic(h) high input injection current p0 to p2, p3_0, p3_1, p3_3 to p3_5, p3_7, p4_3 to p4_5, p6 v i > v cc ?? 2ma i ic(l) low input injection current p0 to p2, p3_0, p3_1, p3_3 to p3_5, p3_7, p4_3 to p4_5, p6 v i < v ss ??? 2ma |i ic | total injection current ?? 8ma p0 p1 p2 p3_0, p3_1, p3_3 to p3_5, p3_7 p4_2 to p4_7 p6 30 pf
r01ds0012ej0110 rev.1.10 page 47 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. v cc /av cc = v ref = 2.7 to 5.5 v, v ss = 0 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), unless otherwise specified. 2. the a/d conversion result will be undefined in wait mode, st op mode, when the flash memory stops, and in low-consumption current mode. do not perform a/d conversion in these stat es or transition to these st ates during a/d conversion. 3. when the analog input voltage is over the reference voltage, the a/d conversion result will be 3ffh in 10-bit mode and ffh in 8-bit mode. table 5.4 a/d converter characteristics symbol parameter conditions standard unit min. typ. max. ? resolution v ref = av cc ?? 10 bit ? absolute accuracy 10-bit mode v ref = av cc = 5.0 v an0 to an7 input, an8 to an11 input ?? 3 lsb v ref = av cc = 3.0 v an0 to an7 input, an8 to an11 input ?? 5 lsb 8-bit mode v ref = av cc = 5.0 v an0 to an7 input, an8 to an11 input ?? 2 lsb v ref = av cc = 3.0 v an0 to an7 input, an8 to an11 input ?? 2 lsb ad a/d conversion clock 4.0 v ref = av cc = 5.5 (2) 2 ? 20 mhz 2.7 v ref = av cc = 5.5 (2) 2 ? 10 mhz ? tolerance level impedance ? 3 ? k ? i vref v ref current v cc = 5.0 v, xin = f1 = ad = 20 mhz ? 45 ? a t conv conversion time 10-bit mode v ref = av cc = 5.0 v, ad = 20 mhz 2.2 ?? s 8-bit mode v ref = av cc = 5.0 v, ad = 20 mhz 2.2 ?? s t samp sampling time ad = 20 mhz 0.8 ?? s v ref reference voltage 2.7 ? av cc v v ia analog input voltage (3) 0 ? v ref v ocvref on-chip reference voltage 2 mhz ad 4 mhz 1.14 1.34 1.54 v
r01ds0012ej0110 rev.1.10 page 48 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. v cc = 2.7 to 5.5 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version) (under consi deration), unless otherwise specified. 2. definition of programming/erasure endurance the programming and erasure endurance is defined on a per-block basis. if the programming and erasure endurance is n (n = 100, 1,000), eac h block can be erased n times. for example, if 1,024 1- byte writes are performed to different addresses in bloc k a, a 1 kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. however, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. endurance to guarantee all electrical c haracteristics after program and erase. (1 to min. value can be guaranteed). 4. in a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possib le is used up before performing an erase operation. for example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. it is also advisable to retain data on the erasure endurance of each block and limit the number of erase operations to a certain number. 5. if an error occurs during block erase, attempt to execute t he clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. customers desiring program/erase failure rate information should contact their renesas te chnical support representative. 7. the data hold time includes time that the power supply is off or the clock is not supplied. 8. this data hold time includes 3,000 hours in ta = 125 c and 7,000 hours in ta = 85 c. table 5.5 flash memory (program rom) electrical characteristics symbol parameter conditions standard unit min. typ. max. ? program/erase endurance (2) r8c/34x, r8c/34z group 100 (3) ?? times r8c/34w, r8c/34y group 1,000 (3) ?? times ? byte program time (program/erase endurance 100 times) ? 60 300 s ? byte program time (program/erase endurance > 100 times) ? 60 500 s ? word program time (program/erase endurance 100 times) ? 100 400 s ? word program time (program/erase endurance > 100 times) ? 100 650 s ? block erase time ? 0.3 4 s t d(sr-sus) time delay from suspend request until suspend ?? 5+cpu clock 3 cycles ms ? interval from erase start/restart until following suspend request 0 ?? s ? time from suspend until erase restart ?? 30+cpu clock 1 cycle s t d(cmdrst- ready) time from when command is forcibly terminated until reading is enabled ?? 30+cpu clock 1 cycle s ? program, erase voltage 2.7 ? 5.5 v ? read voltage 2.7 ? 5.5 v ? program, erase temperature ? 40 ? 85 (j version) 125 (k version) c ? data hold time (7) ambient temperature = 55 c (8) 20 ?? year
r01ds0012ej0110 rev.1.10 page 49 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. v cc = 2.7 to 5.5 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), unless otherwise specified. 2. definition of programming/erasure endurance the programming and erasure endurance is defined on a per-block basis. if the programming and erasure endurance is n (n = 100, 1,000, 10, 000), each block can be erased n times. for example, if 1,024 1-byte writes are performed to different addresses in block a, a 1 kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. however, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. endurance to guarantee all electrical c haracteristics after program and erase. (1 to min. value can be guaranteed). 4. in a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possib le is used up before performing an erase operation. for example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. in addition, aver aging the erasure endurance between blocks a to d can further reduce the actual erasure endurance. it is also advisable to retain data on the er asure endurance of each block and limit the number of erase operations to a certain number. 5. if an error occurs during block erase, attempt to execute t he clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. customers desiring program/erase failure rate information should contact their renesas te chnical support representative. 7. the data hold time includes time that the power supply is off or the clock is not supplied. 8. this data hold time includes 3,000 hours in ta = 125 c and 7,000 hours in ta = 85 c. figure 5.2 time delay until suspend table 5.6 flash memory (data flash block a to block d) electric al characteristics symbol parameter conditions standard unit min. typ. max. ? program/erase endurance (2) 10,000 (3) ?? times ? byte program time (program/erase endurance 1,000 times) ? 160 950 s ? byte program time (program/erase endurance > 1,000 times) ? 300 950 s ? block erase time (program/erase endurance 1,000 times) ? 0.2 1 s ? block erase time (program/erase endurance > 1,000 times) ? 0.3 1 s t d(sr-sus) time delay from suspend request until suspend ?? 3+cpu clock 3 cycles ms ? interval from erase start/restart until following suspend request 0 ?? s ? time from suspend until erase restart ?? 30+cpu clock 1 cycle s t d(cmdrst- ready) time from when command is forcibly terminated until reading is enabled ?? 30+cpu clock 1 cycle s ? program, erase voltage 2.7 ? 5.5 v ? read voltage 2.7 ? 5.5 v ? program, erase temperature ? 40 ? 85 (j version) 125 (k version) c ? data hold time (7) ambient temperature = 55 c (8) 20 ?? year fst6 bit suspend request (fmr21 bit) fixed time t d(sr-sus) clock-dependent time access restart fst6, fst7: bit in fst register fmr21: bit in fmr2 register fst7 bit
r01ds0012ej0110 rev.1.10 page 50 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. necessary time until the voltage detecti on circuit operates when setting to 1 again after setting the vca25 bit in the vca2 register to 0. 3. time until the voltage monitor 0 reset is generated after the voltage passes v det0 . notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. select the voltage detection level with bits vd1s0 to vd1s3 in the vd1ls register. 3. time until the voltage monitor 1 interrupt request is generated after the voltage passes v det1 . 4. necessary time until the voltage detecti on circuit operates when setting to 1 again after setting the vca26 bit in the vca2 register to 0. notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. time until the voltage monitor 2 interrupt request is generated after the voltage passes v det2 . 3. necessary time until the voltage detecti on circuit operates after setting to 1 agai n after setting the vca27 bit in the vca2 register to 0. table 5.7 voltage detection 0 circ uit electrical characteristics symbol parameter condition standard unit min. typ. max. v det0 voltage detection level at the falling of v cc 2.70 2.85 3.00 v ? voltage detection 0 ci rcuit response time (3) at the falling of vcc from 5 v to (vdet0 ? 0.1) v ? 6 150 s ? voltage detection circuit self power consumption vca25 = 1, v cc = 5.0 v ? 1.5 ? a t d(e-a) wait time until voltage detection circuit operation starts (2) ?? 100 s table 5.8 voltage detection 1 circ uit electrical characteristics symbol parameter condition standard unit min. typ. max. v det1 voltage detection level vdet1_7 (2) at the falling of v cc 3.05 3.25 3.45 v voltage detection level vdet1_8 (2) at the falling of v cc 3.20 3.40 3.60 v voltage detection level vdet1_9 (2) at the falling of v cc 3.35 3.55 3.75 v voltage detection level vdet1_a (2) at the falling of v cc 3.50 3.70 3.90 v voltage detection level vdet1_b (2) at the falling of v cc 3.65 3.85 4.05 v voltage detection level vdet1_c (2) at the falling of v cc 3.80 4.00 4.20 v voltage detection level vdet1_d (2) at the falling of v cc 3.95 4.15 4.35 v voltage detection level vdet1_e (2) at the falling of v cc 4.10 4.30 4.50 v ? hysteresis width at the rising of vcc in voltage detection 1 circuit ? 0.1 ? v ? voltage detection 1 ci rcuit response time (3) at the falling of vcc from 5 v to (vdet1_7 ? 0.1) v ? 60 150 s ? voltage detection circuit self power consumption vca26 = 1, v cc = 5.0 v ? 1.7 ? a t d(e-a) wait time until voltage detection circuit operation starts (4) ?? 100 s table 5.9 voltage detection 2 circ uit electrical characteristics symbol parameter condition standard unit min. typ. max. v det2 voltage detection level vdet2 at the falling of v cc 3.80 4.00 4.20 v ? hysteresis width at the rising of vcc in voltage detection 2 circuit ? 0.1 ? v ? voltage detection 2 ci rcuit response time (2) at the falling of vcc from 5 v to (vdet2 ? 0.1) v ? 20 150 s ? voltage detection circuit self power consumption vca26 = 1, v cc = 5.0 v ? 1.7 ? a t d(e-a) wait time until voltage detection circuit operation starts (3) ?? 100 s
r01ds0012ej0110 rev.1.10 page 51 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. the measurement condition is v cc = 2.7 v to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. to use the power-on reset function, enable voltage monitor 0 reset by setting the lvdas bit in the ofs register to 0. figure 5.3 power-on reset circuit electrical characteristics table 5.10 power-on reset circuit, voltage monitor 0 reset electrical characteristics (2) symbol parameter condition standard unit min. typ. max. t rth external power v cc rise gradient (1) 0 ? 50000 mv/msec v det0 (1) 0.5 v internal reset signal t w(por) (2) voltage detection 0 circuit response time v det0 (1) 1 f oco-s 32 1 f oco-s 32 external power v cc t rth t rth notes: 1. vdet0 indicates the voltage detection level of the voltage detection 0 circuit. refer to 6. voltage detection circuit of user?s manual: hardware (r01uh0063ej) for details. 2. tw(por) indicates the duration the external power vcc must be held below the valid voltage (0.5 v) to enable a power-on reset. when turning on the power after it falls with voltage monitor 0 reset disabled, maintain tw(por) fo r 1 ms or more.
r01ds0012ej0110 rev.1.10 page 52 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. the measurement condition is v cc = 2.7 to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. this indicates the precision error for the oscill ation frequency of the high-speed on-chip oscillator. 3. this enables the setting errors of bit rates such as 9600 bps and 38400 bps to be 0% when the serial interface is used in uart mode. note: 1. the measurement condition is v cc = 2.7 to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). notes: 1. the measurement condition is v cc = 2.7 to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. wait time until the internal power suppl y generation circuit stabilizes during power-on. table 5.11 high-speed on-chip oscillator circuit electrical characteristics symbol parameter condition standard unit min. typ. max. ? high-speed on-chip oscillator frequency after reset v cc = 2.7 v to 5.5 v, ? 40 c t opr 85 c (j version) / ? 40 c t opr 125 c (k version) ? 40 ? mhz high-speed on-chip oscillator frequency when the fra4 register correction value is written into the fra1 register and the fra5 register correction value into the fra3 register (3) ? 36.864 ? mhz high-speed on-chip oscillator frequency when the fra6 register correction value is written into the fra1 register and the fra7 register correction value into the fra3 register ? 32 ? mhz high-speed on-chip oscillator frequency temperature ? supply voltage dependence (2) ? 5 ? 5% ? oscillation stab ilization time ? 200 ? s ? self power consumption at oscillation v cc = 5.0 v, t opr = 25 c ? 400 ? a table 5.12 low-speed on-chip oscillator circuit electrical characteristics symbol parameter condition standard unit min. typ. max. foco-s low-speed on-chip oscillator frequency 112.5 125 137.5 khz foco-wdt low-speed on-chip oscillator frequency for watchdog timer 112.5 125 137.5 khz ? oscillation stabi lization time v cc = 5.0 v, t opr = 25 c ? 30 100 s ? self power consumption at oscillation v cc = 5.0 v, t opr = 25 c ? 3 ? a table 5.13 power supply circui t timing characteristics symbol parameter condition standard unit min. typ. max. t d(p-r) time for internal power supply stabilization during power-on (2) ?? 2000 s
r01ds0012ej0110 rev.1.10 page 53 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics notes: 1. the measurement condition is v cc = 2.7 to 5.5 v and t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version). 2. 1t cyc = 1/f1(s) table 5.14 timing requirements of ssu (1) symbol parameter conditions standard unit min. typ. max. t sucyc ssck clock cycle time 4 ?? t cyc (2) t hi ssck clock ?h? width 0.4 ? 0.6 t sucyc t lo ssck clock ?l? width 0.4 ? 0.6 t sucyc t rise ssck clock rising time master ?? 1 t cyc (2) slave ?? 1 s t fall ssck clock falling time master ?? 1 t cyc (2) slave ?? 1 s t su sso, ssi data input setup time 100 ?? ns t h sso, ssi data input hold time 1 ?? t cyc (2) t lead scs setup time slave 1t cyc + 50 ?? ns t lag scs hold time slave 1t cyc + 50 ?? ns t od sso, ssi data output delay time ?? 1 t cyc (2) t sa ssi slave access time 2.7 v v cc 5.5 v ?? 1.5t cyc + 100 ns t or ssi slave out open time 2.7 v v cc 5.5 v ?? 1.5t cyc + 100 ns
r01ds0012ej0110 rev.1.10 page 54 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics figure 5.4 i/o timing of ssu (master) v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t od t h t su scs (output) ssck (output) (cpos = 1) ssck (output) (cpos = 0) sso (output) ssi (input) 4-wire bus communication mode, master, cphs = 1 v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t od t h t su scs (output) ssck (output) (cpos = 1) ssck (output) (cpos = 0) sso (output) ssi (input) 4-wire bus communication mode, master, cphs = 0 cphs, cpos: bits in ssmr register
r01ds0012ej0110 rev.1.10 page 55 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics figure 5.5 i/o timing of ssu (slave) v ih or v oh v il or v ol scs (input) ssck (input) (cpos = 1) ssck (input) (cpos = 0) sso (input) ssi (output) 4-wire bus communication mode, slave, cphs = 1 v ih or v oh v il or v ol t hi t lo t hi t fall t rise t lo t sucyc t h t su scs (input) ssck (input) (cpos = 1) ssck (input) (cpos = 0) sso (input) ssi (output) 4-wire bus communication mode, slave, cphs = 0 t od t lead t sa t lag t or t hi t lo t hi t fall t rise t lo t sucyc t h t su t od t lead t sa t lag t or cphs, cpos: bits in ssmr register
r01ds0012ej0110 rev.1.10 page 56 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics figure 5.6 i/o timing of ssu (clock synchronous communication mode) v ih or v oh t hi t lo t sucyc t od t h t su ssck sso (output) ssi (input) v il or v ol
r01ds0012ej0110 rev.1.10 page 57 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. 4.2 v v cc 5.5 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), f(xin) = 20 mhz, unless otherwise specified. table 5.15 electrical characteristics (1) [4.2 v v cc 5.5 v] symbol parameter condition standard unit min. typ. max. v oh output ?h? voltage other than xout i oh = ? 5 ma v cc ? 2.0 ? v cc v i oh = ? 200 av cc ? 0.3 ? v cc v xout i oh = ? 200 a1.0 ? v cc v v ol output ?l? voltage other than xout i ol = 5 ma ?? 2.0 v i ol = 200 a ?? 0.45 v xout i oh = ? 200 a ?? 0.5 v v t+- v t- hysteresis int0 to int4 , ki0 to ki3 , traio, trbo, trcioa to trciod, trdioa0 to trdiod0, trdioa1 to trdiod1, trcclk, trdclk, trctrg, adtrg , rxd0, rxd2, clk0, clk2, ssi, scl2, sda2, sso 0.1 1.2 ? v reset 0.1 1.2 ? v i ih input ?h? current vi = 5 v, v cc = 5.0 v ?? 1.0 a i il input ?l? current vi = 0 v, v cc = 5.0 v ??? 1.0 a r pullup pull-up resistance vi = 0 v, v cc = 5.0 v 25 50 100 k ? r fxin feedback resistance xin ? 0.3 ? m ? v ram ram hold voltage during stop mode 2.0 ?? v
r01ds0012ej0110 rev.1.10 page 58 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.16 electrical characteristics (2) [3.3 v v cc 5.5 v] (t opr = ? 40 to 85 c (j version), unless otherwise specified.) symbol parameter condition standard unit min. typ. max. i cc power supply current (v cc = 3.3 to 5.5 v) single-chip mode, output pins are open, other pins are v ss high-speed clock mode (1) xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 7.0 15 ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 5.6 12.5 ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 3.6 ? ma xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 2.2 ? ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 1.5 ? ma high-speed on-chip oscillator mode (1) xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz no division ? 7.0 15 ma xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma low-speed on-chip oscillator mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8, fmr27 = 1, vca20 = 0 ? 90 180 a wait mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock operation vca27 = vca26 = vca25 = 0 vca20 = 1 ? 15 110 a xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock off vca27 = vca26 = vca25 = 0 vca20 = 1 ? 5 100 a stop mode xin clock off, t opr = 25 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 2.0 5.0 a xin clock off, t opr = 85 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 15.0 ? a
r01ds0012ej0110 rev.1.10 page 59 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.17 electrical characteristics (3) [3.3 v v cc 5.5 v] (t opr = ? 40 to 125 c (k version), unless otherwise specified.) symbol parameter condition standard unit min. typ. max. i cc power supply current (v cc = 3.3 to 5.5 v) single-chip mode, output pins are open, other pins are v ss high-speed clock mode (1) xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 7.0 15 ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 5.6 12.5 ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 3.6 ? ma xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 2.2 ? ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 1.5 ? ma high-speed on-chip oscillator mode (1) xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz no division ? 7.0 15 ma xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma low-speed on-chip oscillator mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8, fmr27 = 1, vca20 = 0 ? 90 400 a wait mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock operation vca27 = vca26 = vca25 = 0 vca20 = 1 ? 15 330 a xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock off vca27 = vca26 = vca25 = 0 vca20 = 1 ? 5 320 a stop mode xin clock off, t opr = 25 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 2.0 5.0 a xin clock off, t opr = 125 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 60.0 ? a
r01ds0012ej0110 rev.1.10 page 60 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics timing requirements (unless otherwise specified: v cc = 5 v, v ss = 0 v at topr = ? 40 c to 85 c (j ver)/ ? 40 c to 125 c (k ver)) figure 5.7 external clock input timing diagram when v cc = 5 v figure 5.8 traio input timing diagram when v cc = 5 v table 5.18 external clock input (xout) symbol parameter standard unit min. max. t c(xout) xout input cycle time 50 ? ns t wh(xout) xout input ?h? width 24 ? ns t wl(xout) xout input ?l? width 24 ? ns table 5.19 traio input symbol parameter standard unit min. max. t c(traio) traio input cycle time 100 ? ns t wh(traio) traio input ?h? width 40 ? ns t wl(traio) traio input ?l? width 40 ? ns external clock input t wh(xout) t c(xout) t wl(xout) v cc = 5 v traio input v cc = 5 v t c(traio) t wl(traio) t wh(traio)
r01ds0012ej0110 rev.1.10 page 61 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics i = 0, 2 figure 5.9 serial interface timing diagram when v cc = 5 v notes: 1. when selecting the digital filter by the inti input filter select bit, use an inti input high width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. 2. when selecting the digital filter by the inti input filter select bit, use an inti input low width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. figure 5.10 input timing for external interrupt int i and key input interrupt kii when vcc = 5 v table 5.20 serial interface symbol parameter condition standard unit min. max. t c(ck) clki input cycle time when external clock selected 200 ? ns t w(ckh) clki input ?h? width 100 ? ns t w(ckl) clki input ?l? width 100 ? ns t d(c-q) txdi output delay time ? 90 ns t h(c-q) txdi hold time 0 ? ns t su(d-c) rxdi input setup time 10 ? ns t h(c-d) rxdi input hold time 90 ? ns t d(c-q) txdi output delay time when internal clock selected ? 10 ns t su(d-c) rxdi input setup time 90 ? ns t h(c-d) rxdi input hold time 90 ? ns table 5.21 external interrupt inti (i = 0 to 4) input, key input interrupt kii (i = 0 to 3) symbol parameter standard unit min. max. t w(inh) inti input ?h? width, kii input ?h? width 250 (1) ? ns t w(inl) inti input ?l? width, kii input ?l? width 250 (2) ? ns t w(ckh) t c(ck) t w(ckl) t h(c-q) t h(c-d) t su(d-c) t d(c-q) clki txdi rxdi i = 0, 2 v cc = 5 v inti input (i = 0 to 4) t w(inl) t w(inh) v cc = 5 v kii input (i = 0 to 3)
r01ds0012ej0110 rev.1.10 page 62 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. 2.7 v v cc < 4.2 v at t opr = ? 40 to 85 c (j version) / ? 40 to 125 c (k version), f(xin) = 20 mhz, unless otherwise specified. table 5.22 electrical characteristics (3) [2.7 v v cc < 4.2 v] symbol parameter condition standard unit min. typ. max. v oh output ?h? voltage other than xout i oh = ? 1 ma v cc ? 0.5 ? v cc v xout i oh = ? 200 a1.0 ? v cc v v ol output ?l? voltage other than xout i ol = 1 ma ?? 0.5 v xout i ol = 200 a ?? 0.5 v v t+- v t- hysteresis int0 to int4 , ki0 to ki3 , traio, trbo, trcioa to trciod, trdioa0 to trdiod0, trdioa1 to trdiod1, trcclk, trdclk, trctrg, adtrg , rxd0, rxd2, clk0, clk2, ssi, scl2, sda2, sso 0.1 0.4 ? v reset 0.1 0.5 ? v i ih input ?h? current vi = 3 v, v cc = 3.0 v ?? 1.0 a i il input ?l? current vi = 0 v, v cc = 3.0 v ??? 1.0 a r pullup pull-up resistance vi = 0 v, v cc = 3.0 v 42 84 168 k ? r fxin feedback resistance xin ? 0.3 ? m ? v ram ram hold voltage during stop mode 2.0 ?? v
r01ds0012ej0110 rev.1.10 page 63 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.23 electrical characteristics (4) [2.7 v v cc < 3.3 v] (t opr = ? 40 to 85 c (j version), unless otherwise specified.) symbol parameter condition standard unit min. typ. max. i cc power supply current (v cc = 2.7 to 3.3 v) single-chip mode, output pins are open, other pins are v ss high-speed clock mode (1) xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 7.0 14.5 ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 5.6 12.0 ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 3.6 ? ma xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 2.2 ? ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 1.5 ? ma high-speed on-chip oscillator mode (1) xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz no division ? 7.0 14.5 ma xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma low-speed on-chip oscillator mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8, fmr27 = 1, vca20 = 0 ? 85 180 a wait mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock operation vca27 = vca26 = vca25 = 0 vca20 = 1 ? 15 110 a xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock off vca27 = vca26 = vca25 = 0 vca20 = 1 ? 5100 a stop mode xin clock off , t opr = 25 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 2.0 5.0 a xin clock off , t opr = 85 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 13.0 ? a
r01ds0012ej0110 rev.1.10 page 64 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics note: 1. the typical value (typ.) indicates the current value when the cpu and the memory operate. the maximum value (max.) indicates the current when the cp u, the memory, and the peripheral functions operate and the flash memory is programmed/erased. table 5.24 electrical characteristics (4) [2.7 v v cc < 3.3 v] (t opr = ? 40 to 125 c (k version), unless otherwise specified.) symbol parameter condition standard unit min. typ. max. i cc power supply current (v cc = 2.7 to 3.3 v) single-chip mode, output pins are open, other pins are v ss high-speed clock mode (1) xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 7.0 14.5 ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 5.6 12.0 ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz no division ? 3.6 ? ma xin = 20 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma xin = 16 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 2.2 ? ma xin = 10 mhz (square wave) high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8 ? 1.5 ? ma high-speed on-chip oscillator mode (1) xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz no division ? 7.0 14.5 ma xin clock off high-speed on-chip oscillator on foco-f = 20 mhz low-speed on-chip oscillator on = 125 khz divide-by-8 ? 3.0 ? ma low-speed on-chip oscillator mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz divide-by-8, fmr27 = 1, vca20 = 0 ? 85 390 a wait mode xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock operation vca27 = vca26 = vca25 = 0 vca20 = 1 ? 15 320 a xin clock off high-speed on-chip oscillator off low-speed on-chip oscillator on = 125 khz while a wait instruction is executed peripheral clock off vca27 = vca26 = vca25 = 0 vca20 = 1 ? 5310 a stop mode xin clock off , t opr = 25 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 2.0 5.0 a xin clock off , t opr = 125 c high-speed on-chip oscillator off low-speed on-chip oscillator off cm10 = 1 peripheral clock off vca27 = vca26 = vca25 = 0 ? 55.0 ? a
r01ds0012ej0110 rev.1.10 page 65 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics timing requirements (unless otherwise specified: v cc = 3 v, v ss = 0 v at topr = ? 40 c to 85 c (j ver)/ ? 40 c to 125 c (k ver)) figure 5.11 external clock input timing diagram when v cc = 3 v figure 5.12 traio input ti ming diagram when v cc = 3 v i = 0, 2 table 5.25 external clock input (xout) symbol parameter standard unit min. max. t c(xout) xout input cycle time 50 ? ns t wh(xout) xout input ?h? width 24 ? ns t wl(xout) xout input ?l? width 24 ? ns table 5.26 traio input symbol parameter standard unit min. max. t c(traio) traio input cycle time 300 ? ns t wh(traio) traio input ?h? width 120 ? ns t wl(traio) traio input ?l? width 120 ? ns table 5.27 serial interface symbol parameter condition standard unit min. max. t c(ck) clki input cycle time when external clock selected 300 ? ns t w(ckh) clki input ?h? width 150 ? ns t w(ckl) clki input ?l? width 150 ? ns t d(c-q) txdi output delay time ? 120 ns t h(c-q) txdi hold time 0 ? ns t su(d-c) rxdi input setup time 30 ? ns t h(c-d) rxdi input hold time 90 ? ns t d(c-q) txdi output delay time when internal clock selected ? 30 ns t su(d-c) rxdi input setup time 120 ? ns t h(c-d) rxdi input hold time 90 ? ns external clock input t wh(xout) t c(xout) t wl(xout) v cc = 3 v traio input v cc = 3 v t c(traio) t wl(traio) t wh(traio)
r01ds0012ej0110 rev.1.10 page 66 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group 5. electrical characteristics figure 5.13 serial interface timing diagram when v cc = 3 v notes: 1. when selecting the digital filter by the inti input filter select bit, use an inti input high width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. 2. when selecting the digital filter by the inti input filter select bit, use an inti input low width of either (1/digital filter clock frequency 3) or the minimum value of standard, whichever is greater. figure 5.14 input timing for external interrupt int i and key input interrupt kii when vcc = 3 v table 5.28 external interrupt inti (i = 0 to 4) input, key input interrupt kii (i = 0 to 3) symbol parameter standard unit min. max. t w(inh) inti input ?h? width, kii input ?h? width 380 (1) ? ns t w(inl) inti input ?l? width, kii input ?l? width 380 (2) ? ns t w(ckh) t c(ck) t w(ckl) t h(c-q) t h(c-d) t su(d-c) t d(c-q) clki txdi rxdi v cc = 3 v i = 0, 2 t w(inl) t w(inh) v cc = 3 v inti input (i = 0 to 4) kii input (i = 0 to 3)
r01ds0012ej0110 rev.1.10 page 67 of 67 jan 31, 2013 r8c/34w group, r8c/34x group, r8c/34y group, r8c/34z group package dimensions package dimensions diagrams showing the latest package dimensions and moun ting information are available in the ?p ackages? section of the renesas electronics website. terminal cross section b 1 c 1 bp c 2. 1. dimensions " * 1" and " * 2" do not include mold flash. note) dimension " * 3" does not include trim offset. detail f l 1 c a l a 1 a 2 * 3 f 48 37 36 25 24 13 12 1 * 1 * 2 x index mark z e z d b p e h e h d d e previous code jeita package code renesas code plqp0048kb-a 48p6q-a mass[typ.] 0.2g p-lqfp48-7x7-0.50 1.0 0.125 0.20 0.75 0.75 0.08 0.20 0.145 0.09 0.27 0.22 0.17 max nom min dimension in millimeters symbol reference 7.1 7.0 6.9 d 7.1 7.0 6.9 e 1.4 a 2 9.2 9.0 8.8 9.2 9.0 8.8 1.7 a 0.2 0.1 0 0.65 0.5 0.35 l x 8 0 c 0.5 e 0.10 y h d h e a 1 b p b 1 c 1 z d z e l 1 y s s
r8c/34w group, r8c/34x group, r8c/34 y group, r8c/34z group datasheet c - 1 rev. date description page summary 0.10 apr 09, 2010 ? first edition issued 1.00 nov 24, 2010 all ?preliminary? and ?under development? deleted 14 figure 1.5 ?voltage detection circuit? added 28 table 4.2 006ch, 006dh, 0072h, and 0073h revised 38 to 43 tables 4.12 to 4.17 ?after reset? notation revised 46 table 5.3 ?vi > vss? ?vi < vss?, note 1 revised 47 table 5.4 t samp revised 48 table 5.5 ?1,000 times? ?100 times? 51 figure 5.3 note 1 revised 57 table 5.15 ?v cc = 5.0 v? added 61 table 5.20 revised 62 table 5.22 ?v cc = 3.0 v? added, ?[2.7 v vcc 4.2 v]? ?[2.7 v vcc < 4.2 v]? 63, 64 tables 5.23 and 5.24 ?[2.7 v vcc 3.3 v]? ?[2.7 v vcc < 3.3 v]? 65 table 5.27 revised 1.10 jan 31, 2013 15 figure 1.6 revised all trademarks and registered trademarks are the property of their respective owners. revision history
general precautions in the handling of mpu/mcu products the following usage notes are applicable to all mpu/mcu products from renesas. for detailed usage notes on the products covered by this manual, refer to the rele vant sections of the manu al. if the descriptions under general precautions in the handling of mpu/mcu products and in the body of the manual differ from each other, the description in the bod y of the manual takes precedence. 1. handling of unused pins handle unused pins in accord with the directi ons given under handling of unused pins in the manual. ? the input pins of cmos products are general ly in the high-impedance state. in operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of lsi, an associated shoot-through cu rrent flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. unused pins should be handled as described under handling of unused pins in the manual. 2. processing at power-on the state of the product is undefined at the moment when power is supplied. ? the states of internal circuits in the lsi are indeterminate and the states of register settings and pins are undefined at t he moment when power is supplied. in a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. in a similar way, the states of pins in a pr oduct that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. prohibition of access to reserved addresses access to reserved addresses is prohibited. ? the reserved addresses are provided for the po ssible future expansion of functions. do not access these addresses; the correct operat ion of lsi is not guaranteed if they are accessed. 4. clock signals after applying a reset, only release the reset line after the operating clock signal has become stable. when switching the clock signal during pr ogram execution, wait until the target clock signal has stabilized. ? when the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset li ne is only released after full stabilization of the clock signal. moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. differences between products before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. ? the characteristics of mpu/mcu in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. when changing to products of different part numbe rs, implement a system-evaluation test for each of the products.
notice 1. descriptions of circuits, software and other related information in this document are provided only to illustrate the operat ion of semiconductor products and application examples. you are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. renesas electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. renesas electronics has used reasonable care in preparing the information included in this document, but renesas electronics does not warrant that such information is error free. renesas electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 3. renesas electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property ri ghts of third parties by or arising from the use of renesas electronics products or technical information described in this document. no license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of renesas electronics or others. 4. you should not alter, modify, copy, or otherwise misappropriate any renesas electronics product, whether in whole or in part . renesas electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of renesas electronics product. 5. renesas electronics products are classified according to the following two quality grades: "standard" and "high quality". t he recommended applications for each renesas electronics product depends on the product's quality grade, as indicated below. "standard": computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc. "high quality": transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc. renesas electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). you must check the quality grade of each renesas electronics product before using it in a particular application. you may not use any renesas electronics product for any application for which it is not intended. renesas electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any renesas electronics product for which the product is not intended by renesas electronics. 6. you should use the renesas electronics products described in this document within the range specified by renesas electronics , especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. renesas electronics shall have no liability for malfunctions or damages arising out of the use of renesas electronics products beyond such specified ranges. 7. although renesas electronics endeavors to improve the quality and reliability of its products, semiconductor products have s pecific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. further, renesas electronics products are not subject to radiation resistance design. please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a renesas electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or systems manufactured by you. 8. please contact a renesas electronics sales office for details as to environmental matters such as the environmental compatib ility of each renesas electronics product. please use renesas electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the eu rohs directive. renesas electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 9. renesas electronics products and technology may not be used for or incorporated into any products or systems whose manufactu re, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. you should not use renesas electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. when exporting the renesas electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. it is the responsibility of the buyer or distributor of renesas electronics products, who distributes, disposes of, or othe rwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, renesas electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of renesas electronics products. 11. this document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of renesa s electronics. 12. please contact a renesas electronics sales office if you have any questions regarding the information contained in this doc ument or renesas electronics products, or if you have any other inquiries. (note 1) "renesas electronics" as used in this document means renesas electronics corporation and also includes its majority-o wned subsidiaries. (note 2) "renesas electronics product(s)" means any product developed or manufactured by or for renesas electronics. htt p ://www.renesas.co m refer to "htt p ://www.renesas.com/" for the latest and detailed information . r e n esas el ec tr o ni cs am e ri ca in c . 2880 scott boulevard santa clara , ca 95050-2554 , u.s.a . tel: +1-408-588-6000, fax: +1-408-588-6130 renesas electronics canada limited 1101 nicholson road, newmarket, ontario l3y 9c3, canada tel: +1-905-898-5441, fax: +1-905-898-3220 renesas electronics europe limited dukes meadow, millboard road, bourne end, buckinghamshire, sl8 5fh, u.k tel: +44-1628-651-700, fax: +44-1628-651-804 renesas electronics europe gmbh arcadiastrasse 10, 40472 dsseldorf, germany tel: +49-211-65030, fax: +49-211-6503-1327 renesas electronics (china) co., ltd. 7th floor, quantum plaza, no.27 zhichunlu haidian district, beijing 100083, p.r.china tel: +86-10-8235-1155, fax: +86-10-8235-7679 renesas electronics (shanghai) co., ltd. unit 204, 205, azia center, no.1233 lujiazui ring rd., pudong district, shanghai 200120, china tel: +86-21-5877-1818, fax: +86-21-6887-7858 / -7898 renesas electronics hong kong limited unit 1601-1613, 16/f., tower 2, grand century place, 193 prince edward road west, mongkok, kowloon, hong kong tel: +852-2886-9318, fax: +852 2886-9022/9044 renesas electronics taiwan co., ltd. 13f, no. 363, fu shing north road, taipei, taiwan tel: +886-2-8175-9600, fax: +886 2-8175-9670 renesas electronics singapore pte. ltd. 80 bendemeer road, unit #06-02 hyflux innovation centre singapore 339949 tel: +65-6213-0200, fax: +65-6213-0300 renesas electronics mala y sia sdn.bhd. unit 906, block b, menara amcorp, amcorp trade centre, no. 18, jln persiaran barat, 46050 petalin g jaya, selan g or darul ehsan, malaysi a tel: +60-3-7955-9390 , fax: +60-3-7955-951 0 renesas electronics korea co. , ltd . 11f., samik lavied' or bld g ., 720-2 yeoksam-don g , kan g nam-ku, seoul 135-080, korea tel: +82-2-558-3737 , fax: +82-2-558-514 1 s ale s o ffi c e s ? 2013 renesas electronics corporation. all ri g hts reserved . colo p hon 2.2


▲Up To Search▲   

 
Price & Availability of R01DS0012EJ0110-15

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X